Revert "Adjustment of Windows Power Overlay is now optional"

This commit is contained in:
Serge
2023-05-16 11:38:17 +02:00
committed by GitHub
parent 57ce0631a3
commit 8804d19567
14 changed files with 6 additions and 55 deletions

View File

@@ -1286,13 +1286,11 @@ namespace GHelper
AutoFans();
AutoPower(1000);
if (Program.config.getConfigPerf("auto_apply_power_plan") == 1)
{
if (Program.config.getConfigPerfString("scheme") is not null)
NativeMethods.SetPowerScheme(Program.config.getConfigPerfString("scheme"));
else
NativeMethods.SetPowerScheme(PerformanceMode);
}
if (Program.config.getConfigPerfString("scheme") is not null)
NativeMethods.SetPowerScheme(Program.config.getConfigPerfString("scheme"));
else
NativeMethods.SetPowerScheme(PerformanceMode);
if (Program.config.getConfigPerf("auto_boost") != -1)
{