Git Product home page Git Product logo

battery-monitor's Introduction

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

  • python3
  • python3-gi
  • libnotify-dev
  • acpi

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):

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.

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.1

v0.5

  • Developing a GUI to manage the custom warning easily.
  • Minimizing CPU consumption.
  • Adding Makefile for easy installation and upgradation
  • Re-structuring the project
  • Support for Ubuntu 14.04, 16.04, 16.10 and 17.04 has been added.

v0.4

  • Reformatting the code in a new style.
  • Optimizing the code in a way so that Battery Monitor consumes a little resource of your PC.

v0.3

  • Fixed issue #7, decreasing CPU consuming from 40% to below 0.7%
  • Fixed issue #4, Adding warning at 30% battery life (temporary solution, will be replaced by a GUI in near future)
  • Fixed issue #6, Adding an entry in dash.

v0.2.1

  • Adding trusty support.

v0.2

  • Adding Critically Low Battery warning when battery is below 10%.
  • Adding ctrl+C pressing support to stop the battery-monitor command on terminal.

v0.1

  • Initial release.

Contributors

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.

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.

battery-monitor's People

Contributors

abougouffa avatar maateen avatar safwanrahman avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.