mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-05-05 14:38:05 +02:00
read-only-mirror of https://gitlab.freedesktop.org/upower/upower
Under Linux, regardless of the exit code of /usr/bin/pm-is-supported, it will always set CanSuspend and CanHibernate to true due to a logic error in up_backend_supports_sleep_state in src/linux/up-backend.c: The 'ret' variable is re-used for the return code without being re-initialized to false after the call to g_spawn_command_line_sync. Signed-off-by: Martin Pitt <martin.pitt@ubuntu.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.