Here is some debugging I did on my system with DBus (as found in various
bug reports, wiki, forums, ...):

$ qdbus --system org.freedesktop.login1 /org/freedesktop/login1 
org.freedesktop.login1.Manager.CanSuspend 
yes

$ qdbus --system org.freedesktop.login1 /org/freedesktop/login1
org.freedesktop.login1.Manager.Suspend true

does suspend my system, but does not lock the screen.

$ qdbus org.freedesktop.PowerManagement /org/freedesktop/PowerManagement 
org.freedesktop.PowerManagement.CanSuspend
false

$ qdbus org.freedesktop.PowerManagement /org/freedesktop/PowerManagement
org.freedesktop.PowerManagement.Suspend

does lock the screen but does not suspend.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1296133

Title:
  Suspend and hibernate missing from KMenu and Power Management in
  System settings

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1296133/+subscriptions

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

Reply via email to