Turn on auto restricted bucket on abusive bg battery usage
For devices with ODPM support only. Bug: 203105544 Test: dumpsys activity -a Change-Id: I086b202c99d65472d143ee695b6c81d1c1897f70
This commit is contained in:
parent
146e6d5806
commit
ba78c78d87
2 changed files with 16 additions and 0 deletions
|
@ -303,4 +303,12 @@
|
|||
<!-- Boolean indicating if restoring network selection should be skipped -->
|
||||
<!-- The restoring is handled by modem if it is true -->
|
||||
<bool translatable="false" name="skip_restoring_network_selection">true</bool>
|
||||
|
||||
<!-- The behavior when the system detects it has abusive current drains, whether or not to
|
||||
move the app to the restricted standby bucket level.
|
||||
True - we'll move the app to restricted standby bucket as long as its bg battery usage
|
||||
goes beyond the threshold, False - we'll not move it.
|
||||
Note: This should be only enabled on devices with high confidence on power measurement.
|
||||
-->
|
||||
<bool name="config_bg_current_drain_auto_restrict_abusive_apps">true</bool>
|
||||
</resources>
|
||||
|
|
|
@ -279,4 +279,12 @@
|
|||
<!-- Boolean indicating if restoring network selection should be skipped -->
|
||||
<!-- The restoring is handled by modem if it is true -->
|
||||
<bool translatable="false" name="skip_restoring_network_selection">true</bool>
|
||||
|
||||
<!-- The behavior when the system detects it has abusive current drains, whether or not to
|
||||
move the app to the restricted standby bucket level.
|
||||
True - we'll move the app to restricted standby bucket as long as its bg battery usage
|
||||
goes beyond the threshold, False - we'll not move it.
|
||||
Note: This should be only enabled on devices with high confidence on power measurement.
|
||||
-->
|
||||
<bool name="config_bg_current_drain_auto_restrict_abusive_apps">true</bool>
|
||||
</resources>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue