mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-06-07 10:58:23 +02:00
read-only-mirror of https://gitlab.freedesktop.org/upower/upower
up_qos_init() registers a destroyer callback for the qos item array, so the current item will be gone after the calls to g_ptr_array_remove(). By storing the item kind in a local variable we can pass it to up_qos_latency_perhaps_changed() later. Delaying the removal from the array is not an option as up_qos_latency_perhaps_changed() scans that array to re-evaluate the target latency. Signed-off-by: Richard Hughes <richard@hughsie.com> |
||
|---|---|---|
| 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.