You have been subscribed to a public bug:

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.

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: Confirmed

-- 
Suspend only works once when using upower with logind
https://bugs.launchpad.net/bugs/1196752
You received this bug notification because you are a member of Ubuntu Desktop 
Bugs, which is subscribed to systemd in Ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to