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

Posted on in Categories last updated March 1, 2006

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

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”

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

Leave a Comment