charge-power 0.1.1

Creator: bradpython12

Last updated:

0 purchases

TODO
Add to Cart

Description:

chargepower 0.1.1

charge-power
A small utility to track power consumed or provided to the device battery.
Installation
One can install the module via pipx:

pipx install charge-power
pipx install git+https://github.com/kanootoko/charge-power.git

Work principals
By default, searches for battery directory in /sys/class/power_supply. Uses charge_now and charge_full
files to get current and max chagre level.
Then the measurements are taken from charge_now file by timer by given delay time. Difference between
is the amount of energy consumed/provided to the battery, and it is displayed to the console (and log file if it
is set).

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.