diff options
| author | 2022-12-20 23:32:46 +0000 | |
|---|---|---|
| committer | 2023-01-13 00:19:02 +0000 | |
| commit | 91467df85bb450ec85ed209eb5cf779c3982bb84 (patch) | |
| tree | 8cb82c41b7e31d064bfb4ceddfe7e150bc3f8aab /libs/androidfw/ApkParsing.cpp | |
| 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
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions