commit | 628d2fd3aca3c049246b7037f03bdabfa0681f17 | [log] [tgz] |
---|---|---|
author | AleX Pelosi <[email protected]> | Sun Oct 24 15:21:08 2021 -0700 |
committer | AleX Pelosi <[email protected]> | Sun Oct 24 15:21:16 2021 -0700 |
tree | 8f353fcecf16947e8b10486a798c8cc41e34544e | |
parent | 58e1b2ecc1c21bb2be9927c076dabc148105fffb [diff] |
google_battery: change the disconnect condition A device is really disconnected (and google_battery needs to generate the charging statistics) only when it see buck_en=0 in the charging flags and when charging state is DISCONNECTED or UNKNOWN. Bug: 203005295 Signed-off-by: AleX Pelosi <[email protected]> Change-Id: I73c07f11a74a15f5d60730d624fd4e7866cedbe5