commit | 4be8578ef9d2a99b57bfa5fa92f221e535fa94a1 | [log] [tgz] |
---|---|---|
author | Xiaozhe Shi <xiaozhes@codeaurora.org> | Fri Feb 22 17:33:40 2013 -0800 |
committer | Xiaozhe Shi <xiaozhes@codeaurora.org> | Fri Mar 15 11:59:33 2013 -0700 |
tree | 2a19ff95c845a240587ca452daa4e8a8a2cc941c | |
parent | c9f92dc39a84ad9e6b6d29184614ebe0556815cb [diff] |
power: qpnp-bms: hold wake lock and recalc faster on low voltage When the battery is low, it is risky to let the system go into power collapse. The battery may drain until the system goes into UVLO without the OS doing a clean shutdown. Fix this by holding a wakelock at low voltages and calculating SoC faster until the battery hits 0% and the OS shuts down. Change-Id: Ibb9de5676a750d73633995a36b3205c5a0a81359 Signed-off-by: Xiaozhe Shi <xiaozhes@codeaurora.org>