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:

Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!
Looking for a place to share your ideas, learn, and connect? Our Community portal is just the spot! Come join us and see what all the buzz is about!
Last Updated :
04 Apr, 2019
Like Article
Save Article
Share your thoughts in the comments
Please Login to comment...