diff --git a/build/patches/WIN-enable-HighEfficiencyMode-by-default.patch b/build/patches/WIN-enable-HighEfficiencyMode-by-default.patch index 4e10e2d3..470e0fd1 100644 --- a/build/patches/WIN-enable-HighEfficiencyMode-by-default.patch +++ b/build/patches/WIN-enable-HighEfficiencyMode-by-default.patch @@ -4,13 +4,13 @@ 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(-) + components/performance_manager/user_tuning/prefs.cc | 6 +++--- + 1 file changed, 3 insertions(+), 3 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 -@@ -23,12 +23,12 @@ +@@ -23,15 +23,15 @@ namespace performance_manager::user_tuning::prefs { void RegisterLocalStatePrefs(PrefRegistrySimple* registry) { @@ -24,5 +24,9 @@ diff --git a/components/performance_manager/user_tuning/prefs.cc b/components/pe + kMemorySaverModeState, static_cast(MemorySaverModeState::kEnabled)); registry->RegisterIntegerPref( kBatterySaverModeState, - static_cast(BatterySaverModeState::kEnabledBelowThreshold)); +- static_cast(BatterySaverModeState::kEnabledBelowThreshold)); ++ static_cast(BatterySaverModeState::kDisabled)); + registry->RegisterTimePref(kLastBatteryUseTimestamp, base::Time()); + } + --