How to cheque your Laptop Battery Status from CLI Command Line inward Linux
The tool used to cheque your Laptop Battery Status from CLI Command Line inward Linux is called acpi.
ACPI (Advanced Configuration together with Power Interface) is an opened upwards manufacture specification co-developed past times Hewlett-Packard, Intel, Microsoft, Phoenix, together with Toshiba.
ACPI establishes industry-standard interfaces enabling OS-directed configuration, ability management, together with thermal management of mobile, desktop, together with server platforms.
When outset published inward 1996, ACPI evolved an existing collection of ability management BIOS code, Advanced Power Management (APM) application programming interfaces (APIs), PNPBIOS APIs, together with Multiprocessor Specification (MPS) tables into a well-defined ability management together with configuration interface specification.
The specification enables novel ability management technologies to evolve independently inward operating systems together with hardware piece ensuring that they larn out on to travel together.
Installation
In Debian season Linux such every bit Debian, Ubuntu, Kali, purpose the next command:
# apt-get install acpi
Usage
# acpi
The output looks something similar this:
Battery 0: Discharging, 99%, 02:34:33 remaining
To cheque the air conditioning ability status
# acpi -a
Sample Output:
AC Adapter 0: off-line
acpi tin ship away also travel used to cheque temperature. Follow this post service for more How to Monitor Laptop CPU Temperature together with Hard Disk inward Linux – CLI Command Line together with Visual
You tin ship away cheque all the condition together:
# acpi -V
Sample Output:
Battery 0: Discharging, 96%, 02:33:55 remaining
Battery 0: pattern capacity 1773 mAh, concluding amount capacity 1723 mAh = 97%
Adapter 0: off-line
Thermal 0: ok, 48.0 degrees C
Thermal 0: trip yell for 0 switches to trend critical at temperature 105.0 degrees C
Thermal 0: trip yell for 1 switches to trend passive at temperature 90.5 degrees C
Thermal 1: ok, 47.0 degrees C
Thermal 1: trip yell for 0 switches to trend critical at temperature 127.0 degrees C
Cooling 0: LCD 8 of 15
Cooling 1: Processor 0 of 10
Cooling 2: Processor 0 of 10
For Kali Linux users, inward illustration you’re using AMD ATI Graphics card, follow this post, Install AMD ATI Driver (fglrx) inward Kali Linux 1.x. This volition driblet your Laptop temperature from 70+ to <60.
End of guide How to cheque your Laptop Battery Status from CLI Command Line inward Linux.

