ACPI command in Linux with examples

acpi command is used to display the battery status and other ACPI information. It displays the information from the /proc or the /sys filesystem, such as battery status or thermal information.

Syntax:

acpi [options]  
Options

-b | –battery : It displays the battery information.

Example:

-a | –ac-adapter : It displays the ac adapter information.

Example:

-t | –thermal : It shows the thermal information.

Example:

-c | –cooling : It displays the cooling device information.

Example:

-V | –everything : It is used to show every device, overrides above options.

Example:

-s | –show-empty : It displays the non-operational devices.

Example:

-i | –details : It displays the additional details if available.

Example:

-f | –fahrenheit : It uses fahrenheit as the temperature unit instead of default celsius.

Example:

-k | –kelvin : It uses kelvin as the temperature unit instead of default celsius.

Example:

-p | –proc : It uses the old /proc interface, default is the new /sys one.

-d | –directory : It uses the path to ACPI info (either /proc/acpi or /sys/class)/

-h | –help : It display help and exit.

Example:

-v | –version : It shows the output version information and exit.

Example:



My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.