From: uazo Date: Wed, 28 Dec 2022 15:47:58 +0000 Subject: WIN enable HighEfficiencyMode by default License: GPL-2.0-or-later - https://spdx.org/licenses/GPL-2.0-or-later.html --- components/performance_manager/user_tuning/prefs.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/performance_manager/user_tuning/prefs.cc b/components/performance_manager/user_tuning/prefs.cc --- a/components/performance_manager/user_tuning/prefs.cc +++ b/components/performance_manager/user_tuning/prefs.cc @@ -12,13 +12,13 @@ namespace performance_manager::user_tuning::prefs { void RegisterLocalStatePrefs(PrefRegistrySimple* registry) { - registry->RegisterBooleanPref(kHighEfficiencyModeEnabled, false); + registry->RegisterBooleanPref(kHighEfficiencyModeEnabled, true); registry->RegisterIntegerPref( kHighEfficiencyModeTimeBeforeDiscardInMinutes, kDefaultHighEfficiencyModeTimeBeforeDiscardInMinutes); registry->RegisterIntegerPref( kHighEfficiencyModeState, - static_cast(HighEfficiencyModeState::kDisabled)); + static_cast(HighEfficiencyModeState::kEnabled)); registry->RegisterIntegerPref( kBatterySaverModeState, static_cast(BatterySaverModeState::kEnabledBelowThreshold)); -- 2.25.1