Skip to content
/ Power Public

Python module that allows you to get power and battery status of the system. Windows, Mac OS X, Linux

License

Notifications You must be signed in to change notification settings

Kentzo/Power

Folders and files

NameName
Last commit message
Last commit date
Nov 13, 2012
Aug 23, 2021
Oct 30, 2017
Nov 6, 2012
Oct 29, 2017
Oct 30, 2017
Oct 18, 2016
Aug 23, 2021
Mar 23, 2018
Oct 29, 2017
Oct 30, 2017

Repository files navigation

Power

https://travis-ci.org/Kentzo/Power.svg?branch=master Updates

Crossplatform (Windows, Linux, Mac OS X, FreeBSD) python module to access power capabilities of the system.

  • Power source type: AC, Battery or UPS
  • Battery warning level: no warning (None), less than 22% of battery (Early), less than 10min (Final)
  • Time remaining estimate
  • Fault tolerant: if for some reason power capabilities cannot be extracted, falls back to AC
  • Support for multiple batteries
  • Power changes can be observed (Mac OS X only for now)
  • Very easy to extend to support new features or new systems

Examples

Until we expand the documentation please have a look in power/tests.py

About

Python module that allows you to get power and battery status of the system. Windows, Mac OS X, Linux

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages