#15 Scheduling wake up from suspend

open
nobody
None
5
2012-09-15
2011-04-05
Anonymous
No
0 up votes | 0 down votes | 0%
0 comments

It would be nice to be able to wake the computer up from a suspend at a predetermined time. I know waking the PC from sleep may not be in the scope of a shutdown program, but it would allow for easy waking to allow for an alarm app to run.

Some examples of a wakeup event:
http://www.mythtv.org/wiki/ACPI_Wakeup#Manually_test_wakealarm

Discussion

  • beentoo
    beentoo
    2012-04-23

    Linux provides a simple way to schedule an restart event, for example:

    rtcwake -m on -s

    This command avoids that rtcwake does the switching into another power state (mode -m stays on).
    The power state is thus handled by the regular installed powermanagment tools, which is more stable especially on resume.

    Just schedule the wake event, then do the regular shutdown/suspend.
    Later, the real time clock will simply trigger the scheduled power event and the machine comes back up.

     


Anonymous


Cancel   Add attachments