summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorYuanjiang Yu <yuanjiang.yu@unisoc.com>2019-07-31 13:00:25 +0300
committerSebastian Reichel <sebastian.reichel@collabora.com>2019-09-02 23:49:49 +0300
commit7384b0e7668f722fcf7abe56f61a7212debd0180 (patch)
treeddc1fa4eea24ad54b3c71ea2258a30d2f302336d /tools/perf/util/scripting-engines/trace-event-python.c
parent168e68d072756d631a210342d0429c969501b7cf (diff)
downloadlinux-7384b0e7668f722fcf7abe56f61a7212debd0180.tar.xz
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/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions