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:




Please Login to comment...