You need to call the following methods, all of which are under the org.gnome.PowerManager namespace:
CanSuspend CanHibernate
to determine whether the system can suspend or hibernate, and
Suspend Hibernate
to actually perform the actions. Daniel has more experience of dbus implementation stuff than me, so may be able to offer more advice.
You need to call the following methods, all of which are under the org.gnome. PowerManager namespace:
CanSuspend
CanHibernate
to determine whether the system can suspend or hibernate, and
Suspend
Hibernate
to actually perform the actions. Daniel has more experience of dbus implementation stuff than me, so may be able to offer more advice.