blob: 3042b6335d2d50e66e5889ead9f2a163b7d58aa6 (
plain) (
blame)
1
2
3
|
Python library that allows you get current power source type (AC, Battery or
UPS), warning level (none, <22%, <10min) and remaining minutes.
You can also observe changes of power source and remaining time.
|