mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-01-04 18:50:11 +01:00
read-only-mirror of https://gitlab.freedesktop.org/upower/upower
Setting the property will create a notification, which in turn causes the daemon code to trigger a battery refresh. As such, avoid actually setting the property if it still has the same value. Note that we shouldn't usually get spurious notifications, but it is good to be safe here in case e.g. a bad firmware just sends out notifications when the battery capacity changes. Related: #184 |
||
|---|---|---|
| .ci | ||
| dbus | ||
| doc | ||
| etc | ||
| libupower-glib | ||
| po | ||
| rules | ||
| src | ||
| tools | ||
| .gitlab-ci.yml | ||
| AUTHORS | ||
| code-of-conduct.md | ||
| COMMITMENT | ||
| COPYING | ||
| HACKING | ||
| meson.build | ||
| meson_options.txt | ||
| NEWS | ||
| README | ||
| RELEASE | ||
=============== UPower =============== Requirements: glib-2.0 >= 2.34.0 gio-2.0 >= 2.16.1 gudev-1.0 >= 235 (Linux) libimobiledevice-1.0 >= 0.9.7 (optional) UPower is an abstraction for enumerating power devices, listening to device events and querying history and statistics. Any application or service on the system can access the org.freedesktop.UPower service via the system message bus.