Loading core/res/res/values/config.xml +1 −1 Original line number Original line Diff line number Diff line Loading @@ -6611,7 +6611,7 @@ </string-array> </string-array> <!-- Whether or not the monitoring on the apps' background battery drain is enabled --> <!-- Whether or not the monitoring on the apps' background battery drain is enabled --> <bool name="config_bg_current_drain_monitor_enabled">true</bool> <bool name="config_bg_current_drain_monitor_enabled">false</bool> <!-- The threshold of the background current drain (in percentage) to the restricted <!-- The threshold of the background current drain (in percentage) to the restricted standby bucket. standby bucket. Loading services/core/java/com/android/server/am/AppBatteryExemptionTracker.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -520,7 +520,7 @@ final class AppBatteryExemptionTracker /** /** * Default value to {@link #mTrackerEnabled}. * Default value to {@link #mTrackerEnabled}. */ */ static final boolean DEFAULT_BG_BATTERY_EXEMPTION_ENABLED = true; static final boolean DEFAULT_BG_BATTERY_EXEMPTION_ENABLED = false; AppBatteryExemptionPolicy(@NonNull Injector injector, AppBatteryExemptionPolicy(@NonNull Injector injector, @NonNull AppBatteryExemptionTracker tracker) { @NonNull AppBatteryExemptionTracker tracker) { Loading Loading
core/res/res/values/config.xml +1 −1 Original line number Original line Diff line number Diff line Loading @@ -6611,7 +6611,7 @@ </string-array> </string-array> <!-- Whether or not the monitoring on the apps' background battery drain is enabled --> <!-- Whether or not the monitoring on the apps' background battery drain is enabled --> <bool name="config_bg_current_drain_monitor_enabled">true</bool> <bool name="config_bg_current_drain_monitor_enabled">false</bool> <!-- The threshold of the background current drain (in percentage) to the restricted <!-- The threshold of the background current drain (in percentage) to the restricted standby bucket. standby bucket. Loading
services/core/java/com/android/server/am/AppBatteryExemptionTracker.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -520,7 +520,7 @@ final class AppBatteryExemptionTracker /** /** * Default value to {@link #mTrackerEnabled}. * Default value to {@link #mTrackerEnabled}. */ */ static final boolean DEFAULT_BG_BATTERY_EXEMPTION_ENABLED = true; static final boolean DEFAULT_BG_BATTERY_EXEMPTION_ENABLED = false; AppBatteryExemptionPolicy(@NonNull Injector injector, AppBatteryExemptionPolicy(@NonNull Injector injector, @NonNull AppBatteryExemptionTracker tracker) { @NonNull AppBatteryExemptionTracker tracker) { Loading