summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>2016-10-03 18:30:32 -0700
committerSubbaraman Narayanamurthy <subbaram@codeaurora.org>2016-10-10 09:44:06 -0700
commit906f1b29ae5203d34556c20b2b4e32557aa902aa (patch)
tree547668079e7ae87aa0d704ca114220455a51df70 /tools/perf/scripts/python
parentcdb65a95a8d4ffbc11f890ecdeb7b3a55d47f000 (diff)
qpnp-fg-gen3: fix reading OCV and Vbatt predicted values
Open circuit voltage and predicted battery voltage are read from 16 bits. However, the real value is present only in 15 bits. Mask the bit 16 to get the proper readings. Change-Id: I196ccc64fd221fead87a88f43dce1a21ba800908 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions