rtcwake
Enter the given sleep state until the given time. toybox
On Linux
Linux
Enter the given sleep state until the given time. standby S1: default mem S3: suspend to RAM disk S4: suspend to disk off S5: power off disable Cancel current alarm freeze stop processes/processors no just set wakeup time on just poll RTC for alarm show just show current alarm
rtcwake [-aluv] [-d FILE] [-m MODE] [-s SECS] [-t UNIX]
-aRTC uses time specified in /etc/adjtime-d FILEDevice to use (default /dev/rtc)-lRTC uses local time-m MODEMode (--list-modes to see those supported by your kernel):-s SECSWake SECS seconds from now-t UNIXWake UNIX seconds from epoch-uRTC uses UTC-vVerboseLinux
Enter a system sleep state until specified wakeup time relative to your BIOS clock.
Show whether an alarm is set or not
sudo rtcwake --mode show --verboseIdentifySuspend to RAM and wake up after 10 seconds
sudo rtcwake --mode mem --seconds 10IdentifySuspend to disk (higher power saving) and wake up 15 minutes later
sudo rtcwake --mode disk --date +15minIdentifyFreeze the system (more efficient than suspend-to-RAM but version 3.9 or newer of the Linux kernel is required) and wake up at a given date and time
sudo rtcwake --mode freeze --date YYYYMMDDhhmmIdentifyDisable a previously set alarm
sudo rtcwake --mode disableIdentifySimulate waking up the computer at a given time. (Press <Ctrl c> to abort)
sudo rtcwake --mode on --date hh:ssIdentify