commit | cffa56650123d2fa51bf358ca6bda9ff533f0188 | [log] [tgz] |
---|---|---|
author | Dmitri Plotnikov <dplotnikov@google.com> | Mon Feb 12 17:23:25 2024 -0800 |
committer | Dmitri Plotnikov <dplotnikov@google.com> | Mon Feb 12 18:09:58 2024 -0800 |
tree | 91bd1b7aa9516bd310898f68afff811f4a798e24 | |
parent | 47b94341198aa0b2fd26ba9e2102ffc8651be8ab [diff] |
Allow battery voltage to be -1 The default value for voltage in BatteryStatsImpl was -1, so it was implicitly "supported" and we should be prepared to store and retrieve this value in BatteryHistory Bug: 321187655 Test: atest --host PowerStatsTestsRavenwood:BatteryStatsHistoryIteratorTest Change-Id: I2bf098a56857debdea74dd3ff60d12f9dbb90744