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. Running: qdbus org.kde.kded /org/freedesktop/PowerManagement CanSuspend prints: true Running: 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'
According to docs [1], nothing in UPower implements Suspend method. However, there is local.org_kde_powerdevil service, which has org/freedesktop/PowerManagement object, which implements "Suspend". Does that suit you? [1] https://upower.freedesktop.org/docs/UPower.html