commit | 2d4e03956f3820faf46c28b8c7c6f4870cd13cd2 | [log] [tgz] |
---|---|---|
author | AleX Pelosi <[email protected]> | Mon Oct 19 10:44:32 2020 -0700 |
committer | Ken Tsou <[email protected]> | Wed Apr 28 01:24:40 2021 +0000 |
tree | a8602ef2336ee0f6e9d5458a55c8454bd2868099 | |
parent | 4a3a95f9ce5c5233100734076db72bd289ceef58 [diff] |
google_battery: fix TTF estimates for TEMP-DEFEND Use raw soc vs UI soc for the TTF estimate. Needed when spoofing the 87%-90% range which has up to 13% delta between UI and real level. Bug: 171086376 Test: charge to full, discharge, check estimate Signed-off-by: AleX Pelosi <[email protected]> Change-Id: I140f4f3c884c379a2f527610f0ccf28464f9230a Signed-off-by: Ken Tsou <[email protected]> (cherry picked from commit 0a32242c8b0a741fd4a3c102648c6a0de7a0ba95)