I’ve posted this entry recently, in which I say that it was trivial to configure hybernation for my laptop. I also mentioned that suspend-to-RAM wasn’t working properly for me.
Well, guess what? Jean passed by and left a comment with a link to this article. Less than two minutes later I successfully tested suspend-to-RAM. Jean’s article is for Debian. Things are slightly different in Fedora. Here is what I had to do.
- Install
acpid
RPM (it was already installed on my laptop, but I thought I’d mention it anyway) - Delete or rename
/etc/acpi/events/sample.conf
file. (it defines the shutdown action on power button) - Restart acpid service by running
service acpid restart
as user root. - In KDE’s Control Center enable Suspend from the Power Control, Laptop Battery section.
You’re done! Now all you need to do is right-click on the battery monitor applet in KDE and choose Suspend action. The laptop will fall asleep immediately. Pressing the power button will wake it up.
Sweet!