mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-05-05 04:08:12 +02:00
read-only-mirror of https://gitlab.freedesktop.org/upower/upower
The percentage field of the device object is a gdouble. Low battery calculations should read this field as a gdouble instead of a guint to get the correct value. This fixes the case where clients see on-low-battery possibly changing with every percentage of battery discharge. Signed-off-by: Byron Clark <byron@theclarkfamily.name> |
||
|---|---|---|
| devkit-power-gobject | ||
| doc | ||
| po | ||
| policy | ||
| rules | ||
| src | ||
| tools | ||
| .gitignore | ||
| acinclude.m4 | ||
| AUTHORS | ||
| autogen.sh | ||
| configure.ac | ||
| COPYING | ||
| devkit-power-gobject.pc.in | ||
| HACKING | ||
| Makefile.am | ||
| NEWS | ||
| README | ||
| RELEASE | ||
=============== DeviceKit-power =============== Requirements: glib-2.0 >= 2.6.0 gio-2.0 >= 2.16.1 dbus-1 >= 1.0 dbus-glib-1 >= 0.76 gudev-1.0 >= 001 polkit-gobject-1 >= 0.91 libusb DeviceKit-power 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.DeviceKit.Power service via the system message bus.