This is going to be a very quick how to post. You can very easily check the battery power from the command line using a command call “acpi”. This command/program is not installed by default in Ubuntu. To install it you just need to go to the command prompt and type:
- “sudo apt-get install acpi”
Like all apt-get commands it is going to ask you for your admin password and make you verify that you want to install the command using the letter “Y”.
The next thing you will need to do in order to check the batter power from the command line is to run this command:
- “sudo acpi -b”
This will give you the batter power from the command line.
Leave a Reply