summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorYuanjiang Yu <yuanjiang.yu@unisoc.com>2019-07-31 18:00:25 +0800
committerSebastian Reichel <sebastian.reichel@collabora.com>2019-09-02 22:49:49 +0200
commit7384b0e7668f722fcf7abe56f61a7212debd0180 (patch)
treeddc1fa4eea24ad54b3c71ea2258a30d2f302336d /tools/perf/scripts/python/export-to-postgresql.py
parent168e68d072756d631a210342d0429c969501b7cf (diff)
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions