Giter Club home page Giter Club logo

chargemon's Introduction

ChargeMon

Simple macOS StatusBar app to monitor battery charge status and remind you to unplug your Mac when the battery is sufficiently charged

Overview

Very simple app -- can toggle between alert or notification.

StatusBar screenshot

Settings:

  • Alert: Shows a dialog box when the battery is sufficiently charged
  • Notification: Shows a notification when the battery is sufficiently charged
  • Pause: Pauses the app until you toggle it back on
  • Snooze: Snooze alerts for 15 minutes
  • About: Shows the About dialog

Sample alert:

Alert screenshot

Installation

  • clone the repo
  • cd into the repo directory
  • create a virtual environment and activate it
  • python3 -m pip install -r requirements.txt
  • python3 setup.py py2app
  • Copy dist/chargemon.app to /Applications

Notes

Doesn't work with python 3.10 as [rumps](https://github.com/jaredks/rumps) is currently not compatible with 3.10.

Actually, I was able to build this with python 3.11 so the problem with rumps may have been fixed in the latest release.

If building with pyenv installed python, you'll need to build the python with framework support:

env PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install -v 3.9.11

Credits

Inspired by this tweet by @mathsppblog.

License

MIT License

See Also

iBatteryStats - a similar idea with many more features

chargemon's People

Contributors

rhettbull avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

chargemon's Issues

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.