diff options
| author | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | 2017-03-15 13:15:31 -0700 |
|---|---|---|
| committer | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | 2017-03-23 16:45:35 -0700 |
| commit | b3dd099154f7b98b1761d004c51e0e70ff0cab68 (patch) | |
| tree | 7e3b6ea22ce189c7a441d2dabf6e3147bd68e9b6 /mm/debug-pagealloc.c | |
| parent | e0e09f71900ba7d43aa5ce29a2d616482b0dfe58 (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>
Diffstat (limited to 'mm/debug-pagealloc.c')
0 files changed, 0 insertions, 0 deletions
