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.
acpidRPM (it was already installed on my laptop, but I thought I’d mention it anyway)
- Delete or rename
/etc/acpi/events/sample.conffile. (it defines the shutdown action on power button)
- Restart acpid service by running
service acpid restartas 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.