Add hybrid suspend method to kde-workspace

Review Request #109352 - Created March 8, 2013 and discarded - Latest diff uploaded

Information
Lukáš Tinkl
kde-workspace
master
302968
Reviewers
solid
afiestas, dafre
This patch adds the implementation of hybrid suspend method, complementing https://git.reviewboard.kde.org/r/109351/.

The hybrid suspend approach has the advantages of regular suspend (faster resuming than with hibernation) while being safer at the same time in case the battery runs out. More info: http://en.wikipedia.org/wiki/Sleep_mode#Hybrid_sleep

Affected components: shutdown dialog (ksmserver), kickoff, battery monitor, lock_logout applet, powermanagement data engine, powerdevil & its runner

Hybrid suspend becomes the preferred method to put the system into sleep thus greatly simplifying the user interface; if it's not available (because of system or kernel limitation), the current two options (suspend + hibernate) will be presented to the user. 

Technically, powerdevil has supported this approach since the beginning and both HAL and upower/systemd backends already implement it.

  
Loading...