summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>2017-12-21 17:39:07 -0800
committerSubbaraman Narayanamurthy <subbaram@codeaurora.org>2018-01-15 14:38:24 -0800
commit371c451d08badeff653441a44b03e63e5f8303b6 (patch)
treeb3201c21c25787dc88d93ae367ea522b6337e486 /lib/mpi/mpi-bit.c
parentde111ce20e214694791b10a106f6910f440fec4c (diff)
power: qpnp-fg-gen3: Adjust recharge SOC after early termination
Currently, recharge SOC is adjusted based on the SOC at which charge termination occurs. However, it gets reset back to the original threshold only if input is removed. This does not work well if charging resumes again once the battery is out of JEITA as the recharge SOC threshold stays configured at a lower value. Fix it by adjusting recharge SOC to the original threshold once charging begins. CRs-Fixed: 2163058 Change-Id: I07c714d32ba0005d3b0ff61142928eda58f049d0 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions