HOWTO.suspend

From openSUSE

                                jw, Thu Jun  5 13:43:31 CEST 2008

kpowersaved contols the suspend features while a user is logged in.
When noone is logged in, powersaved takes over.

Thus, both kpowersave and powersaved must be configured.

kpowersave -> general settings ->
button events
 -> lid close button -> [susepend to Ram]
 -> sleep button     -> [susepend to Ram]
 -> suspend to disk button -> [susepend to Disk]

# Online update leaves my rpm database in an inconsistent state
# if autosuspend kill the network,
# Danny suggests to blacklist zypper # bnc#396241

kpowersave -> general settings ->
miscellaneous
 -> Edit Autosuspend Blacklist ...
 "zypper" -> Add
 "rpm" -> Add
 OK

lock screen
 -> [X] before suspend or standby
 -> [X] on lid close


vi /etc/powersave/events
EVENT_BUTTON_SLEEP="suspend_to_disk"
EVENT_BUTTON_LID_OPEN="ignore"
EVENT_BUTTON_LID_CLOSED="suspend_to_ram"
ZZ