diff options
author | 2022-02-05 02:25:03 -0800 | |
---|---|---|
committer | 2022-02-08 22:36:40 -0800 | |
commit | e1217fdd9dfb9bce505ba3e6c5d3990c30c2e240 (patch) | |
tree | d024c4fb930f826b5a6cd5e93d13c89e9b7e3355 /opengl/java/android | |
parent | 24e45284df7dcb8f715d502ca979bd8568266d70 (diff) |
Track the battery usage in different dimensions in AppBatteryTracker
So it could be configured to catch abusive battery usage by different
combination. It also supports configurable power components.
By default, when background only battery usage reaches a certain
threshold, it'll be put into restricted standby bucket; while after
that, when the sum of its background and foreground service battery
usage reaches to another threshold, the system will prompt the user.
Bug: 200326767
Bug: 203105544
Test: atest FrameworksMockingServicesTests:BackgroundRestrictionTest
Change-Id: I2887201c06cbe7c936eb52c9aa5beb5e326634b7
Diffstat (limited to 'opengl/java/android')
0 files changed, 0 insertions, 0 deletions