ACPI stands for Advanced Configuration and Power Interface, wich is an open industry specification co-developed by Hewlett-Packard, Intel, Microsoft, Phoenix, and Toshiba 1, it’s a great tool to check in CLI mode for the status of your laptop battery and charger.
Installation depends on your distro, but it can be as simply as:
yum install acpi
apt-get install acpi
Most commons commands are made running in a console:
Check battery status
# acpi
Battery 0: Unknown, 99%
Battery temperature
# acpi -t
Thermal 0: ok, 43.0 degrees C
Checking AC power status
# acpi -a
Thermal 0: ok, 43.0 degrees C
More commands
# acpi --help