Dear Maintainer,
After running apt-get dist-upgrade, my laptop does not suspend properly:
Problems:
1) key shortcut - used to work (standard shortcut, worked out of the box), now
instead suspending, it causes screen lock
2) menu option - used to be above power off option (in gnome menu, this in top
right), now disapeared
3) closing lid - does nothing, used to suspend
when I type some magical command (found on http://askubuntu.com/questions/1792
/how-can-i-suspend-hibernate-from-command-line):
dbus-send --system --print-reply \
--dest="org.freedesktop.UPower" \
/org/freedesktop/UPower \
org.freedesktop.UPower.Suspend
system suspends propperly
laptop: Lenovo thinkpad t61p
Chears,
Kuba
reassign 729659 upower # if it affects upower those maintainer know better than the '"general" # maintainers' what to do with this bug... thanks
I have exactly the same problem and it starts annoying me quite a lot because it's happening on all my machines: qdbus org.kde.kded /org/freedesktop/PowerManagement CanSuspend false dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend Error org.freedesktop.DBus.Error.UnknownMethod: Method "Suspend" with signature "" on interface "org.freedesktop.UPower" doesn't exist of course calling pm-suspend directly works as expected!
Eric Valette is being bugged by this issue:
I ran into this too and as far as I can tell this happens because UPower
has been superseded by Systemd.Logind. So the fix I found is to make the
following call instead:
dbus-send --print-reply --system --dest=org.freedesktop.login1 \
/org/freedesktop/login1 org.freedesktop.login1.Manager.Suspend \
boolean:true
There are similar commands for HybridSleep and Hibernate. The
Systemd.Logind documentation can be found there:
http://www.freedesktop.org/wiki/Software/systemd/logind/