How to find out if Advanced Power Management support available or not under Linux

Advanced Power Management (APM) is an API developed by Intel and Microsoft, which allows BIOS to perform power management.

ADVERTISEMENTS

These days it is outdated and replaced by ACPI (The Advanced Configuration and Power Interface).

Under Linux to find out if, Advanced Power Management support available or not you need to type following commands:

$ apm_available
$ echo $?

It returns three values:

  • 0 (true) : APM subsystem is available
  • 1 (false): APM subsystem is not available
  • 2 : Usage error (arguments supplied)

You can also try out following command:

$ apm_available && echo “Yes” || echo “No APM support”

You can use following command to test whether ACPI subsystem is available or not:

$ acpi_available && echo “Yes” || echo “No APM support”

🐧 If you liked this page, please support my work on Patreon or with a donation.
🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
0 comments… add one

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.