Files
frameworks_base/core/java/android
Dmitri Plotnikov 5f9c679caf Add BatteryUsageStats.getDischargeDurationMs
This method returns the total amount of time the battery was
discharging during the current battery session.

Also, fixing time units used in BatteryStats tests: they are
supposed to be microseconds, not milliseconds.

Bug: 214407774
Test: atest FrameworksCoreTests:BatteryChargeCalculatorTest
Change-Id: I5b64a6bd8a577b558b90cb60a1db8c3774121921
2022-01-24 11:03:53 -08:00
..
2022-01-20 20:40:12 -08:00
…
2022-01-21 17:39:35 +00:00
2022-01-21 13:36:58 +00:00