Battery Monitor

A utility tool, notifies user about charging, discharging and not charging state of the battery on Linux.

View the Project on GitHub maateen/battery-monitor

Battery Monitor

Battery Monitor is a utility tool developed on Python3 and PyGtk3. It will notify user about charging, discharging, not charging and critically low battery state of the battery on Linux (Surely if battery is present).

Dependencies

To use Battery Monitor you need these dependencies installed on your PC.

Installation

Common Method

wget https://github.com/maateen/battery-monitor/archive/master.zip
unzip master.zip
cd battery-monitor-master
sudo make install

That’s all. Battery Monitor Stable is installed on your system.

For Ubuntu and its derivatives

Let’s install from PPA (currently supported: 14.04, 16.04, 16.10, 17.04 & 17.10):

sudo add-apt-repository ppa:maateen/battery-monitor -y
sudo apt-get update
sudo apt-get install battery-monitor -y

That’s all. Battery Monitor Stable is installed on your system.

For Beta Testers

wget https://github.com/maateen/battery-monitor/archive/devel.zip
unzip devel.zip
cd battery-monitor-devel
sudo make install

That’s all. Battery Monitor Beta is installed on your system.

For Developers

Now you can automatically test Battery Monitor from Terminal:

python3 battery-monitor.py --test

Or, if you’ve already installed:

battery-monitor --test

Configuration

Every time, you will start/restart your PC, it will run automatically in background. But as it’s your first time, let’s start it by yourself. Please, search for Battery Monitor launcher in your menu entries. Then simply click on it. You will get notified that Battery Monitor has started.

If you want to adjust settings for Battery Monitor, then simply search for Battery Monitor GUI in your menu entries. Then click on it and you will see a new window. Now adjust your settings and save it. Your adjustment will be in action after next reboot.

Battery Monitor GUI

Issue Tracking

If you find a bug, please open a new issue with details: https://github.com/maateen/battery-monitor/issues

Screenshots

Initial State

Initial State

Charging State

Charging State

Discharging State

Discharging State

Not Charging State

Not Charging State

Critically Low Battery State

Critically Low Battery State

Roadmap

Please take a look at our milestones to get clear idea about our roadmap. They are dynamic and they can change frequently on user requests.

Changelog

v0.5.3

v0.5.2

v0.5.1

v0.5

v0.4

v0.3

v0.2.1

v0.2

v0.1

Contributors

Safwan Rahman

One of the biggest contributor of Battery Monitor. He has reformated the code in a new style. The style represents the code easier to understand. Also he has optimized the code in a way that Battery Monitor consumes a little resource of your PC. Please take a minute to thank him.

Abdelhak Bougouffa

Another biggest contributor of Battery Monitor. He has fixed some bugs and optimized Battery Monitor in a way so that it consumes lower CPU and RAM than before. Please take a minute to thank him.