Correct scale adjustment calculation for charger data.
This commit is contained in:
parent
6b6de6c925
commit
b41f62cd45
|
@ -167,7 +167,7 @@ For example, assuming:
|
|||
|
||||
Then the updated `amperage_meter_scale` is:
|
||||
```
|
||||
amperage_meter_scale = old_amperage_meter_scale * (charging_data_mAh / reported_draw_mAh)
|
||||
amperage_meter_scale = old_amperage_meter_scale * (reported_draw_mAh / charging_data_mAh)
|
||||
= 400 * (1158 / 1260)
|
||||
= 368
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue