All Projects → maateen → Battery Monitor

maateen / Battery Monitor

Licence: gpl-3.0
An X-platform utility tool developed on Golang, notifies about charging, discharging, and critically low battery state of the battery.

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Battery Monitor

Open Sustainable Technology
Listing of worldwide open technology projects preserving a stable climate, energy supply and vital natural resources. Enjoy the website: https://opensustain.tech/
Stars: ✭ 595 (+334.31%)
Mutual labels:  battery
Battery Meter View
🔋 Material design battery meter (i.e. level, state) view for Android
Stars: ✭ 57 (-58.39%)
Mutual labels:  battery
Ttgo T Beam Car Tracker
TTGO-T-Beam Arduino Car Tracker - ESP32 + LoRa + GPS + GSM (optional)
Stars: ✭ 106 (-22.63%)
Mutual labels:  battery
Update Background Locations
A sample iOs example that tracks background locations.
Stars: ✭ 7 (-94.89%)
Mutual labels:  battery
Acc
acc
Stars: ✭ 55 (-59.85%)
Mutual labels:  battery
Power
Python module that allows you to get power and battery status of the system. Windows, Mac OS X, Linux
Stars: ✭ 58 (-57.66%)
Mutual labels:  battery
Headsetcontrol
Sidetone and Battery status for Logitech G930, G533, G633, G933 SteelSeries Arctis 7/PRO 2019 and Corsair VOID (Pro) in Linux and MacOSX
Stars: ✭ 392 (+186.13%)
Mutual labels:  battery
Rust Battop
Interactive batteries viewer
Stars: ✭ 133 (-2.92%)
Mutual labels:  battery
Rainbarf
it's like Rainmeter, but for CLI!
Stars: ✭ 1,087 (+693.43%)
Mutual labels:  battery
Iglance
Free system monitor for OSX and macOS. See all system information at a glance in the menu bar.
Stars: ✭ 1,358 (+891.24%)
Mutual labels:  battery
Auto Cpufreq
Automatic CPU speed & power optimizer for Linux
Stars: ✭ 843 (+515.33%)
Mutual labels:  battery
Xsuspender
👀 💻 💤 🔋 Save battery by auto-suspending unfocused X11 applications.
Stars: ✭ 53 (-61.31%)
Mutual labels:  battery
Pyeis
PyEIS: A Python-based Electrochemical Impedance Spectroscopy simulator and analyzer
Stars: ✭ 60 (-56.2%)
Mutual labels:  battery
Juice
Make your battery information a bit more interesting.
Stars: ✭ 688 (+402.19%)
Mutual labels:  battery
Battery.js
A tiny wrapper for the HTML5 Battery Status API.
Stars: ✭ 111 (-18.98%)
Mutual labels:  battery
Assistantkit
Easy way to detect iOS device properties, OS versions and work with screen sizes. Powered by Swift.
Stars: ✭ 569 (+315.33%)
Mutual labels:  battery
Arcticfox Config
Configuration Tool for Vape Battery Mods with Arcticfox Firmware. ☁️ 🔧 Works on MacOS and Linux.
Stars: ✭ 58 (-57.66%)
Mutual labels:  battery
Easydeviceinfo
📱 [Android Library] Get device information in a super easy way.
Stars: ✭ 1,698 (+1139.42%)
Mutual labels:  battery
Battstat
🔋 CLI battery status indicator for macOS, Linux, and OpenBSD ⚡
Stars: ✭ 132 (-3.65%)
Mutual labels:  battery
Xfce4 Genmon Scripts
🐭 XFCE panel generic monitor scripts
Stars: ✭ 69 (-49.64%)
Mutual labels:  battery

Battery Monitor [Deprecated]

⚠️ We took some initiatives to revamp the project but we couldn't gather enough contributor to move the project forward. So, we are backing off finally. As it is licensed under GPL-3.0, please feel free to fork it and start on you own. To uninstall the daily build, please follow this.

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

Uninstall Daily Build

$ sudo systemctl stop battery-monitor
$ sudo systemctl disable battery-monitor
$ sudo rm -f /usr/local/bin/battery-monitor
$ sudo rm -rf /etc/battery-monitor
$ sudo rm -f /etc/systemd/system/battery-monitor.service
$ sudo systemctl daemon-reload

Dependencies

  • acpi
  • python3
  • python3-gi
  • python3-setuptools
  • libnotify4
  • libappindicator3-1
  • gir1.2-appindicator3-0.1

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, 17.10 & 18.04; we're struggling with Ubuntu 16.04 right now):

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 Arch Linux and its derivatives

The stable version, git version and the beta version are available in the Arch User Repository:

Stable: battery-monitor Git: battery-monitor-git Beta: battery-monitor-devel-git

If you're not sure how to use the AUR, please see the Manjaro and Arch wiki entries about it. You will need an AUR helper to install packages.

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 run.py --test

Or, if you've already installed:

battery-monitor --test

User Manual

Auto Start

Every time Battery Monitor starts automatically after PC boots up. It pops up notifications and you see its Icon in the system tray. To reveal the other beauties, you can click on the icon. Currently, there are three menus: Settings, About and Quit.

You can also start battery monitor from the menu entries. Please, search for Battery Monitor launcher in the menu entries and simply click on it. In case, if Battery Monitor doesn't start automatically, please open an issue. We would like to debug the issue and help you.

Settings

In Settings menu, you can configure and adjust settings for Battery Monitor.

Configuration

Here, you can set the battery percentage levels at which you want to get notifications. The warning levels are listed in ascending order. Critical Battery Warning refers to the lowest level while First Custom Warning refers to the highest level. Custom warning levels are optional.

If you change any configuration, it will be in action only 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 a clear idea about our roadmap. They are dynamic and they can change frequently on user requests.

Changelog

v0.6

v0.5.4

v0.5.3

  • [x] Fixed issue #45
  • [x] Support for Ubuntu 17.10 has been added.

v0.5.2

v0.5.1

v0.5

  • [x] Developed a GUI to manage the custom warning easily.
  • [x] Minimized CPU consumption.
  • [x] Added Makefile for easy installation and up-gradation.
  • [x] Re-structured the project.
  • [x] Support for Ubuntu 14.04, 16.04, 16.10 and 17.04 has been added.

v0.4

  • [x] Reformatted the code in a new style.
  • [x] Optimized the code in a way so that Battery Monitor consumes a little resource of your PC.

v0.3

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

v0.2.1

  • [x] Added trusty support.

v0.2

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

v0.1

  • [x] Initial release.

Contributors

Safwan Rahman

He has reformatted 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

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.

Yochanan Marqos

He is our official package maintainer in AUR. He has put Arch users' life at ease. Please take a minute to thank him.

Benjamin Staffin

He has improved the build process and added modern Python setuptools packaging. Please take a minute to thank him.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].