Linux command
apm 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Show
apm
Example
apm -v
Minutes
apm -m
Example
apm -l
Suspend
sudo apm -s
说明
apm queries Advanced Power Management (APM) status on Linux systems. It reports battery charge level, AC adapter status, and power management capabilities. APM has largely been superseded by ACPI on modern systems, but the command may still work for compatibility or on older hardware.
参数
- -v, --verbose
- Verbose output
- -V, --version
- Print version
- -m, --minutes
- Show minutes of battery remaining
- -s, --suspend
- Suspend the system
- -S, --standby
- Enter standby mode
- -l, --life
- Show battery percentage
- -b, --brief
- Brief output
- -a, --ac
- Show AC power status
FAQ
What is the apm command used for?
apm queries Advanced Power Management (APM) status on Linux systems. It reports battery charge level, AC adapter status, and power management capabilities. APM has largely been superseded by ACPI on modern systems, but the command may still work for compatibility or on older hardware.
How do I run a basic apm example?
Run `apm` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -v, --verbose do in apm?
Verbose output