Python Package: laptop_battery_status
Posted by Al Sweigart in misc
laptop_battery_status is a pure Python package for getting the battery status of your laptop. It reports the battery charge, the time remaining, and whether the computer is plugged in. It works on Windows, macOS, and Linux and runs on Python 3.5 and later. Install with pip install laptop_battery_status. Git repo.



