python script to output your mac's current battery level
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
battery_level.py

README.md

Battery Level

History

Original script by Steve Losh

Forked and modified in 2010-02-02

  • added colorprint to work with BASH color codes
  • specified unicode characters as unicode strings
  • switched to the colorama library for coloring