Saturday, January 26, 2013

How to check Battery Status of Laptop in Ubuntu from Terminal

Q. How do I check Battery Status of Laptop in Ubuntu from TerminalAns:
acpi is a Utility which allows you to check Battery status from Terminal in Ubuntu, just type following command in terminal to install acpi

$ sudo apt-get install acpi
1. To check Battery status simply run following command in terminal

$ acpi
Battery 0: Full, 100%
* Without Charger

$ acpi
Battery 0: Discharging, 100%, 02:

0 comments:

Post a Comment