mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-05-09 07:08:07 +02:00
read-only-mirror of https://gitlab.freedesktop.org/upower/upower
Before, the low level for changing the battery icon was hardcoded. However, as the `low_percentage` property is settable by the user using `PercentageLow` option. That can lead to inconsistencies when PercentageLow is not the default. For example, if PercentageLow is set higher than 10, the Low Battery level warning will be sent at the user-set level, but the battery icon would not be updated to "caution" until the percentage drops below 10%. This issue is solved in this commit by using the `low_percentage` property for the comparison instead of hardcoding the default. |
||
|---|---|---|
| .ci | ||
| dbus | ||
| doc | ||
| etc | ||
| libupower-glib | ||
| m4 | ||
| po | ||
| rules | ||
| src | ||
| tools | ||
| .gitlab-ci.yml | ||
| AUTHORS | ||
| autogen.sh | ||
| code-of-conduct.md | ||
| COMMITMENT | ||
| configure.ac | ||
| COPYING | ||
| git.mk | ||
| HACKING | ||
| Makefile.am | ||
| NEWS | ||
| README | ||
| RELEASE | ||
| upower-glib.pc.in | ||
=============== UPower =============== Requirements: glib-2.0 >= 2.34.0 gio-2.0 >= 2.16.1 gudev-1.0 >= 147 (Linux) libusb-1.0 >= 1.0.0 (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.