APM(8)
π NAME π
okay bestie, meet apm: it controls the APM BIOS and displays its information. This is the APM(8) page from the i386 System Manager's Manual, and it's here to make laptop power stuff make sense. π
π¦ SYNOPSIS π¦
apm [-ablstzZ] [-d enable] [-e enable] [-h enable] [-r delta]
β¨ DESCRIPTION β¨
The apm utility controls the Intel / Microsoft APM (Advanced Power Management) BIOS and shows you the current status of APM on laptop PCs. It's giving main-character energy for laptop power management. π»β¨
The options are as follows β one bullet each, no skips, periodt:
-aβ display the current AC-line status as an integer value. The values0,1and2correspond to the βoff-lineβ state, βon-lineβ state or βbackup powerβ state, respectively.-bβ display an integer value reflecting the current battery status. The values0,1,2,3, correspond to the βhighβ status, βlowβ status, βcriticalβ status, βchargingβ status respectively.-denable β disable/enable suspending of the display separately from a normal suspend using the boolean value for enable. This feature seems to not work on many different laptops, including the Libretto 30CT and 50CT. π-eenable β enable or disable APM functions of the computer, depending on the boolean enable argument.-henable β depending on the boolean value of enable, enable or disable the HLT instruction in the kernel context switch routine. These options are not necessary for almost all APM implementations, but for some implementations whose βIdle CPUβ call executes both CPU clock slowdown and HLT instruction,-h falseis necessary to prevent the system from reducing its peak performance. Seeapm(4)for details.-lβ display the remaining battery percentage. If your laptop does not support this function,255is displayed.-rdelta β enable the resume wakeup timer, if the laptop supports it. This does not actually suspend the laptop, but if the laptop is suspended, and it supports resume from suspend, then it will be resumed after delta seconds (from when you run this command, not from when you suspend).-sβ display the status of the APM support as an integer value. The values0and1correspond to the βdisabledβ state or βenabledβ state respectively.-tβ display the estimated remaining battery lifetime in seconds. If it is unknown,-1is displayed.-Zβ transition the system into standby mode. This mode uses less power than full power mode, but more than suspend mode. Some laptops support resuming from this state on timer or Ring Indicator events. The output ofapmtells what your laptop claims to support.-zβ suspend the system. It is used byzzz(8).
If no options are specified, apm displays information and current status of APM in verbose mode. If multiple display options are given, the values are displayed one per line in the order given here. π«Ά
π SEE ALSO π
π AUTHORS π
Tatsumi Hosokawa <hosokawa@jp.FreeBSD.org> β iconic. π
π BUGS π
Some APM implementations do not support parameters needed by apm. On such systems, apm displays them as unknown. π
Some APM implementations cannot handle events such as pushing the power button or closing the cover. On such implementations, the system must be suspended only by using apm or zzz.
this page is from Debian, dated November 12, 2025, and itβs the APM(8) page β byeee bestie ππ
π¦ where this page comes from
- freebsd 15.1: base 15.1
- Copyright (c) 1994 by Tatsumi Hosokawa <hosokawa@jp.FreeBSD.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms