mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-06-07 03:58:23 +02:00
read-only-mirror of https://gitlab.freedesktop.org/upower/upower
Some HID devices with batteries (like bluetooth keyboards) have been creating power supply devices in sysfs since Linux 3.3. UPower thinks that they are system devices and shuts down the system if they get low. This is bad. This is fixed in Linux 3.4, where there is a new 'scope' file that defines if the device is powering the system. Helpfully ACPI batteries don't populate the scope value, but soon will. Add support for the scope attribute now, and default to system devices if it's missing. Note, you need to be running a 3.4 kernel or a 3.3 with the patch backported for this to work. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=806295 |
||
|---|---|---|
| doc | ||
| etc | ||
| libupower-glib | ||
| m4 | ||
| po | ||
| policy | ||
| rules | ||
| src | ||
| tools | ||
| AUTHORS | ||
| autogen.sh | ||
| configure.ac | ||
| COPYING | ||
| git.mk | ||
| HACKING | ||
| Makefile.am | ||
| NEWS | ||
| README | ||
| RELEASE | ||
| upower-glib.pc.in | ||
=============== UPower =============== 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 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.