PowerManager System DBUS interface
Methods on net.sf.PowerManager
bool isActive ()
Returns if active.
bool shutdown ()
Runs the script /sbin/pm-shutdown. Returns true on success.
bool restart ()
Runs the script /sbin/pm-restart. Returns true on success.
bool hibernate ()
Runs the script /sbin/pm-hibernate. Returns true on success.
bool suspend ()
Runs the script /sbin/pm-suspend. Returns true on success.
bool hdparm (timeout, device)
Sets the hard-disk spindown rate to timout seconds.
Returns true on success.