diff options
author | 2019-07-31 18:00:25 +0800 | |
---|---|---|
committer | 2019-09-02 22:49:49 +0200 | |
commit | 7384b0e7668f722fcf7abe56f61a7212debd0180 (patch) | |
tree | ddc1fa4eea24ad54b3c71ea2258a30d2f302336d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | power: supply: sc27xx: Fix conditon to enable the FGU interrupt (diff) | |
download | wireguard-linux-7384b0e7668f722fcf7abe56f61a7212debd0180.tar.xz wireguard-linux-7384b0e7668f722fcf7abe56f61a7212debd0180.zip |
power: supply: sc27xx: Fix the the accuracy issue of coulomb calculation
The Spreadtrum fuel gauge will multiply by 2 for counting the coulomb
counter to improve the accuracy, which means the value saved in fuel
gauge is: coulomb counter * 2 * 1000ma_adc. Thus fix the conversion
formular to improve the accuracy of calculating the battery capacity.
Signed-off-by: Yuanjiang Yu <yuanjiang.yu@unisoc.com>
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions