commit | 4ef41ae3760294c1f46c2b1d8a414b46321770e5 | [log] [tgz] |
---|---|---|
author | Brandon Edens <[email protected]> | Thu Jan 26 21:38:50 2023 +0000 |
committer | Brandon Edens <[email protected]> | Tue Mar 14 13:17:19 2023 +0000 |
tree | 5666525551dd9dfd1de7d5f9738bddc71c2734bf | |
parent | 1e5aed4195bb71c5f20fc2eaeaf503559fb36324 [diff] |
Scale state of charge such that 5% == 0% The PRD requires 2 days RTC retention after low battery shutdown, so treat 5% from the Qualcomm fuel gauge as 0%, and scale higher values to suit. Bug: 253473152 Test: Charge and discharge battery comparing QCOM SOC vs SW5100 SOC Change-Id: I6d5a276f4a1c6b55d98117fd3458792f87a24c49 Signed-off-by: Brandon Edens <[email protected]>