summaryrefslogtreecommitdiff
path: root/include/linux/compiler-gcc.h
diff options
context:
space:
mode:
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>2017-01-03 15:39:08 -0800
committerSubbaraman Narayanamurthy <subbaram@codeaurora.org>2017-02-02 21:02:39 -0800
commit4fa5fdc375d8f80271aadab4022c94132580cb45 (patch)
treef8b5002a24f4c06bc4191709a79d84c0f10a1203 /include/linux/compiler-gcc.h
parent5c7833f48ba413dc71b3202d403f893a44116131 (diff)
qpnp-fg-gen3: improve SOC masking algorithm
After charge termination, charging status might not get updated until the recharge begins. This makes charge_full_update to be not called at all thereby causing SOC masking algorithm to not clear the charge_full flag. Use delta battery SOC interrupt to help with this. Keep it disabled by default and enable it after the charge termination. Disable it again when the user removes the charger. Since this needs delta battery SOC threshold to be configured, add support for it. Change-Id: Ic1a9f8a065c87efe88e315f2b2e1e1378151531b Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'include/linux/compiler-gcc.h')
0 files changed, 0 insertions, 0 deletions