battery scale and discharge smoothing

This commit is contained in:
Jordan Isaacs 2023-11-15 01:37:51 -08:00 committed by Daniel Eklöf
parent e54e8635e0
commit a943def94e
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 95 additions and 13 deletions

View file

@ -61,6 +61,16 @@ the state *unknown* under other conditions.
(default=*60000*). Set to `0` to disable polling (*warning*: many
batteries do not support asynchronous reporting). Cannot be less
than 250ms.
| battery-scale
: int
: no
: How much to scale down the battery charge amount. Some batteries
report too high resulting in bad discharge estimates
| smoothing-secs
: int
: no
: How many seconds to perform smoothing over for battery discharge
estimates.
# EXAMPLES