If you really want to keep an eye on your notebook’s battery power, here’s how to install Battery Monitor in Linux and start monitoring it.
The default Linux battery monitor only notifies you when the level is already low, it does not tell you what is the current battery consumption condition . Battery Monitor is much more useful as it keeps you up to date on charging, discharging, not charging, and even when the battery status is extremely low.
How to install Battery Monitor in Linux
This utility is available for Ubuntu and its derivatives via PPA, but can also be easily installed in any other distribution, downloading its source code and compiling it. To install it, use one of the following procedures.
image source: OMG! Ubuntu!
How to install Battery Monitor in Ubuntu and its derivatives
To install Battery Monitor in Ubuntu and still be able to automatically receive future updates from it, you must do the following steps:
Step 1. Open a terminal (on Unity use the CTRL + ALT + T keys);
Step 2. If you do not already have it, add the program repository with this command
sudo add-apt-repository ppa:maateen/battery-monitor
Step 3. Update the package manager with the command
sudo apt-get update
Step 4. Now use the command below to install the program
sudo apt-get install battery-monitor
Step 5. If you need to uninstall later , use the command below
sudo apt-get remove battery-monitor
How to install the Battery Monitor manually or in other distros
Step 1. Open a terminal (in Unity use the CTRL + ALT + T keys);
sudo apt-get update
Step 2. Download the source code of the program with the command below;
wget https://github.com/maateen/battery-monitor/archive/master.zip
Step 3. Then use the following command to unzip the downloaded file;
unzip master.zip
Step 4. Access the folder that was created;
cd battery-monitor-master
Step 5. Finally, compile and install the program with the command below;
sudo make install
Running the Battery Monitor in linux
Every time you start / restart your PC, it will automatically run in the background. If you run the app manually, you will receive notification that Battery Monitor has started.