Correct scale adjustment calculation for charger data.

This commit is contained in:
grizewald 2017-09-25 21:53:46 +02:00 committed by mikeller
parent 6b6de6c925
commit b41f62cd45
1 changed files with 1 additions and 1 deletions

View File

@ -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
```