diff options
| author | Dmitri Plotnikov <dplotnikov@google.com> | 2022-01-21 15:13:14 -0800 |
|---|---|---|
| committer | Dmitri Plotnikov <dplotnikov@google.com> | 2022-01-24 11:03:53 -0800 |
| commit | 5f9c679caf00cea17c76788f22cb8e4a198f162d (patch) | |
| tree | 72573038dd89f52b8eb51cfc549541405315277d /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | 056333fa0fda0760eb771de5bd0779b30dde2a82 (diff) | |
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
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
