This bug was fixed in the package upower - 0.9.21-3 --------------- upower (0.9.21-3) unstable; urgency=low
* Add 00git_updates.patch to update to today's upstream git: - Fix batteries which report capacity, but not energy/charge - Add temperature property for batteries - Fix warning in up_device_supply_get_design_voltage - Make GetHistory() array order consistent upower (0.9.21-2) unstable; urgency=low [ Martin Pitt ] * debian/rules: Run dh_install with --fail-missing to avoid forgetting about some scripts. * debian/rules: Explicitly set systemd util dir, to avoid build-depending on systemd. * debian/upower.install: Install notify-upower.sh. (LP: #1196752) [ Michael Biebl ] * debian/patches/always_use_pm-utils_backend.patch: Always use the pm-utils backend, even if logind is running. The availability of logind does not necessarily imply, that systemd is running (in a recent enough version), which is required for a successful suspend/hibernate. (Closes: #718458, LP: #1196752) -- Martin Pitt <martin.p...@ubuntu.com> Thu, 29 Aug 2013 11:34:28 +0200 ** Changed in: upower (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to upower in Ubuntu. https://bugs.launchpad.net/bugs/1196752 Title: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/* Status in “systemd” package in Ubuntu: Invalid Status in “systemd-shim” package in Ubuntu: Confirmed Status in “upower” package in Ubuntu: Fix Released Status in “upower” package in Debian: Fix Released Bug description: On saucy with upower 0.9.20-1ubuntu2, suspending via UPower (or the KDE suspend menu) only works once: dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend and resuming works the first time. However, calling it again after resume returns: "Sleep has already been requested and is pending" Sleeping directly via logind works every time: dbus-send --print-reply --system --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.Suspend boolean:true Returning FALSE for the LOGIND_AVAILABLE() case in gboolean up_backend_emits_resuming (UpBackend *backend) in src/linux/up- backend.c allows suspending multiple times via UPower (or the KDE suspend menu). UPower is somehow not getting the resume signal from logind. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1196752/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp