Linux apmd Command
The Linux apmd command is used for advanced power management daemon.
apmd handles logging, alerting, and management tasks related to BIOS advanced power management (APM).
Syntax
apmd [-u v V W][-p <percentage change>][-w <percentage value>]
Parameters:
-p<percentage change> or --percentage<percentage change> When the power change exceeds the set percentage change, it logs the event. The default percentage change is 5. If the value is set above 100, this feature is disabled.
-u or --utc Sets the BIOS clock to UTC, so that when resuming from suspend mode, the -u parameter is passed to the clock or hwclock program.
-v or --verbose Logs all APM events.
-V or --version Displays version information.
-w<percentage value> or --warn<percentage value> When the battery is not charging and the battery level is below the set percentage value, it logs a warning message at the ALERT level in syslog(2). The default percentage value is 10. If set to 0, this feature is disabled.
-W or --wall Sends a warning message to everyone.
Examples
Log all power management events
# apmd -v
Set BIOS clock
# apmd -utc // Set BIOS clock to UTC