commit | dd6ea38b7d09ed6a13a0ebf9260cf593d43498a5 | [log] [tgz] |
---|---|---|
author | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | Wed Mar 15 13:15:31 2017 -0700 |
committer | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | Mon Apr 10 20:06:03 2017 -0700 |
tree | 632e55985651f6ff33193ed0483730b2016ac417 | |
parent | 3f3040a5e05412dd32202fbb006a9f8f08395b72 [diff] |
qpnp-fg-gen3: prime CC_SOC_SW when capacity learning begins CC_SOC_SW can accumulate error over time and get saturated high during capacity learning. Prime it to a value based on battery SOC when capacity learning begins. This way, it can be ensured that CC_SOC_SW doesn't saturate in a capacity learning cycle. Change-Id: I2866ed6dadee84e84bf28fb08dc3a5a0ae353852 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>