diff options
author | 2019-01-15 18:32:36 +0800 | |
---|---|---|
committer | 2019-01-23 21:26:56 +0100 | |
commit | 3a28f203c57944ac98a3adcbfacdbfa385966972 (patch) | |
tree | cc7a82eb25b6137622a4a342e53df9a7e4190fe7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | power: supply: sc27xx: Add one property to read charge voltage (diff) | |
download | wireguard-linux-3a28f203c57944ac98a3adcbfacdbfa385966972.tar.xz wireguard-linux-3a28f203c57944ac98a3adcbfacdbfa385966972.zip |
power: supply: sc27xx: Fix the incorrect formula when converting capacity to coulomb counter
We should multiply the calibrated current data (cur_1000ma_adc) when
converting current capacity (mAh) to coulomb counter, which can get
an accurate coulomb counter from the fuel gauge controller.
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions