diff options
| author | Ted Lin <tedlin@google.com> | 2018-06-07 14:22:21 +0800 |
|---|---|---|
| committer | Thierry Strudel <tstrudel@google.com> | 2018-09-24 22:31:39 +0000 |
| commit | e95db75983bbb326c6df52a80273939493eb2dc1 (patch) | |
| tree | eca5063adba3d928a4fcb766e583bb67854e8705 /lib/mpi/mpiutil.c | |
| parent | 1edcc8f5fcf4fa7a97c879391c69aa44ac66e0d8 (diff) | |
power: battery: batt_shutdown_lock was held not release.
When the battery voltage is critical low.(v<3.2V)
Driver will hold the lock and force level = 0 to trigger system shutdown.
But if the cable is exist, system will keep running.
Unlock the lock when the cable is exist to solve this.
Bug: 80495857
Change-Id: I9b19ad5ebf277ead4b4a140135b29be1889a2619
Signed-off-by: Ted Lin <tedlin@google.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
