I'm trying to make my laptop suspend. I run 11.1-STABLE with KDE. I can suspend just fine with zzz, but can't do it from KDE.
qdbus org.kde.kded /org/freedesktop/PowerManagement CanSuspend
qdbus org.kde.kded /org/freedesktop/PowerManagement Suspend
only locks the sceen.
I have traced the problem to DBUS. When I run:
dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend, I get:
Error org.freedesktop.DBus.Error.UnknownMethod: No such method 'Suspend'