rtcwake
Schedule system wake from sleep using RTC alarm
TLDR
Show alarm status
SYNOPSIS
rtcwake [-m mode] [-s seconds|--date time] [options]
DESCRIPTION
rtcwake enters a system sleep state and configures the RTC (Real-Time Clock) to wake the system at a specified time. It's useful for scheduled tasks, power saving, and automatic system wake.
The tool supports various sleep modes with different power/wake trade-offs. The RTC alarm persists even if the system loses power (battery backup).
PARAMETERS
-m, --mode _mode_
Sleep/action mode-s, --seconds _sec_
Wake after N seconds--date _time_
Wake at specific time-v, --verbose
Verbose output-d, --device _rtc_
Use specific RTC device
MODES
mem
Suspend to RAM (S3)disk
Suspend to disk/hibernate (S4)freeze
Suspend-to-idle (S0ix, kernel 3.9+)off
Power off systemon
No sleep, just set wakeup timeshow
Display current alarmdisable
Cancel pending alarm
CAVEATS
Requires root privileges. Not all hardware supports all modes. Time is relative to hardware clock (usually UTC). BIOS/UEFI must support RTC wake.
HISTORY
rtcwake is part of util-linux, providing a standard interface to the Linux RTC wake functionality used for scheduled wake-ups and automated power management.
SEE ALSO
systemctl(1), hwclock(8), pm-suspend(8)
