LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   pm-hibernate & "wake up in 5 minutes"? (https://www.linuxquestions.org/questions/linux-software-2/pm-hibernate-and-wake-up-in-5-minutes-765814/)

jsteel 10-31-2009 11:48 AM

pm-hibernate & "wake up in 5 minutes"?
 
Is there a way to tell the computer to hibernate and wake up in 5 minutes (for example)? If not, asking it to wake up immediately would also be of interest.

Thanks.

clvic 11-02-2009 04:00 PM

There used to be the file
/proc/acpi/alarm, in which you can write the wake up time. So, the suspend script can write there before going to sleep. It's missing in more recent kernels, replaced by the file
/sys/class/rtc/rtc0/wakealarm

For more information, visit
http://acpi.sourceforge.net/documentation/alarm.html


All times are GMT -5. The time now is 04:12 PM.