powerctl(8)
β‘ powerctl(8) β control power management states β‘
okay bestie, welcome to the System Manager's Manual corner of the group chat β this is the page for powerctl(8) in section 8, and it's literally your remote for Linux power states. π«Ά
πΈ NAME πΈ
powerctl β control power management states. π
β¨ SYNOPSIS β¨
powerctl [-qDIM] <desired state>
that's the exact shape, no cap.
π¦ DESCRIPTION π¦
powerctl is a tool that manages power states on Linux. Real talk: users of this tool must be root or a member of the "power" group. When you run it with no options, it sets the system's sleep state to the specified state, which causes the system to immediately enter a sleep state (e.g. suspend). π΄
The -D, -I, and -M options configure the system's sleep states and behavior. The -q option takes no argument and prints the current system sleep configuration, and it does not require root access or membership in the power group. β¨
π USAGE π
π powerctl <disk|freeze|standby|mem> π
When you execute it with no options, the sleep state you picked is entered right away β immediately putting the system into some level of suspension. The options have these meanings:
diskβ enter the"hibernation"state. A system memory image is written to disk, and the system enters the state associated with the disk configuration (peeppowerctl -D). πΎfreezeβ enter the"suspend to idle"state. It's a software-supported low-power state which is always supported, but it achieves the worst power performance. πstandbyβ enter the"standby"state, in which more system resources are powered down or placed into a low-power mode thans2idle. This offers improved power savings overs2idle, but it increases system resume latency. β³memβ enter thememstate (seepowerctl -M). π
π powerctl -q π
Query the current system power management configuration and supported options, and print them to stdout. This operation does not require elevated permissions. π«Ά
π¦ powerctl -D <platform|shutdown|reboot|suspend|test_resume> π¦
Configures the behavior following a suspend-to-disk operation. The options have these meanings:
platformβ enter the platform-specific suspended state, if supported, e.g.ACPI S4. π€shutdownβ power off the system. πrebootβ reboot the system. Useful for diagnostics and testing. πsuspendβ enter the"hybrid"suspend mode. This state enters the sleep mode specified by thememstate, then, if the system successfully wakes up from this state, the hibernation state is discarded. Otherwise, the system resumes as if from the normal hibernation state. πtest_resumeβ immediately resume from the hibernation state and perform a full system resume. Useful for diagnostics and testing. π§ͺ
π powerctl -I <size in bytes> π
Configure the desired maximum hibernation image size. The kernel interprets this value as a best-effort target, and, if necessary, a larger image will be produced. Setting this value to zero will always produce the smallest possible image. π―
π₯ powerctl -M <s2idle|shallow|deep> π₯
Configures the desired system suspend behavior for the mem state. The options have these meanings:
s2idleβ use the"suspend to idle"state, a software-supported low-power state which is always supported but achieves the worst power performance. π΄shallowβ use the"standby"state, in which more system resources are powered down or placed into a low-power mode thans2idle. This offers improved power savings overs2idle, but increases system resume latency. π¦deepβ use the"suspend to RAM"state, in which all system resources are powered off except for RAM. This mode offers the best power savings among these options, but has the highest resume latency and requires re-initializing all I/O devices. π₯
that's the whole page, bestie β every flag and state accounted for, no cap. This cut is dated 2026-02-04 and it's the powerctl(8) page from the System Manager's Manual. πβ¨
π¦ where this page comes from
- alpine 3.24: powerctl-doc 1.1-r7 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms