Missing methods and properties from DBus interface
Submitted by John Preston
Assigned to Richard Hughes @hughsient
Description
My laptop just did a PowerOff
despite being configured in UPower.conf
to do a HybridSleep
, which I have tested with systemctl hybrid-sleep
and can confirm is working.
Upon investigation of the org/freedesktop/UPower
object, I noticed that the properties CanSuspend
and CanHibernate
and the methods SuspendAllowed
and HibernateAllowed
are not present, despite being mentioned in the reference manual.
My thoughts are that perhaps the absence of these methods and properties in DBus is leading upowerd
to determine that HybridSleep
and Hibernate
are not available and that it must PowerOff
instead.
I have noticed that said properties and methods are also missing from dbus/org.freedesktop.UPower.xml, which I presume is the interface specification? Perhaps amending that file wouldbe sufficient, or the cause of my PowerOff
might be something else.
I am running Arch x86_64 with GNOME 3.