commit | 91467df85bb450ec85ed209eb5cf779c3982bb84 | [log] [tgz] |
---|---|---|
author | Milo Sredkov <miloslav@google.com> | Tue Dec 20 23:32:46 2022 +0000 |
committer | Milo Sredkov <miloslav@google.com> | Fri Jan 13 00:19:02 2023 +0000 |
tree | 8cb82c41b7e31d064bfb4ceddfe7e150bc3f8aab | |
parent | 259d5d2ccd392a182f19412e13e8187e69ac23ab [diff] |
Add measured camera stats to BatteryUsageStats Implement POWER_MODEL_ENERGY_CONSUMPTION in CameraPowerCalculator by using the camera energy consumption from BatteryStatsImpl. Per-UID stats are will be supported in a follow-up change. Bug: 258319905 Test: atest BatteryStatsTests Test: Use the camera while not charging, observe usage in Battery Stats Change-Id: I9df6c2d2300fdebc516d7b674c311e9be36b0d44