commit | 8a871d818be8c4b83bc563839dadf5b0994e30ba | [log] [tgz] |
---|---|---|
author | zhouwenjie <zhouwenjie@google.com> | Tue Jul 03 16:17:02 2018 -0700 |
committer | zhouwenjie <zhouwenjie@google.com> | Tue Jul 03 16:17:02 2018 -0700 |
tree | 879a50c7b95c55a95e97e333cb1bc8d1cd2595b7 | |
parent | 565aa509524c0d3d078f03088ce19aff2c7bee62 [diff] |
Update mMinLearnedBatteryCapacity when necessary. Currently mMinLearnedBatteryCapacity is only updated once (when it's -1). We check the minimum of mMinLearnedBatteryCapacity and the new chargeFullUah reading but never update mMinLearnedBatteryCapacity to the new value. Bug: 111132682 Test: manual Change-Id: I1680e7a4bdf9176feb2a2dcc9f2c10c829202bda