Code Monkey home page Code Monkey logo

batterymon-clone's Introduction

batterymon-clone

Summary

batterymon-clone is a simple battery monitor tray icon for Linux.

  • Written in Python
  • Should work on any desktop environment
  • Very little dependencies: just Python and PyGTK
  • Optional support for notify-python, for notifications using libnotify

The current implementation reads battery information from /sys/class/power_supply/, and updates the state by polling every few seconds.

Changelog summary:

  • Version 1.4.0 reads information from /sys/class/power_supply/, which has been added in Linux kernel 2.6.23. However, it uses power_now instead of current_now, and thus only works on 2.6.30 and newer.

  • Version 1.3.0 reads information from /proc/acpi/ interface (which has been removed from Linux kernel 2.6.39). The old DBus+HAL code was replaced by polling the battery state every few seconds.

  • Older versions used DBus and HAL instead of polling the state every few seconds. However, support for HAL has been deprecated and removed from most distros.

History

batterymon-clone is a fork of batterymon

batterymon was originally written in mid-2009 by Matthew Horsell and Tomas Kramar, and was available at Google Code.

It was later forked in 2010 as batterymon-clone by sayamindu on GitHub.

After a long time without commits, denilsonsa forked and updated it in mid-2011.

Each one of the authors contributed a little in order to make batterymon a better software for their own needs. You can also contribute! Feel free to fork this code and improve it!

Future improvements

Here is a list of things you can do to help moving batterymon forward:

You do not need to ask for permission to fix them. Just fork this repository and start coding!

batterymon-clone's People

Contributors

denilsonsa avatar dirakx1 avatar sayamindu 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.