CPU power limits

This commit is contained in:
Serge
2023-06-06 11:38:11 +02:00
parent a3e235e886
commit 38739ca8f6

View File

@@ -1205,17 +1205,17 @@ namespace GHelper
delay = 500; delay = 500;
} }
// Fix for models that don't support PPT settings in all modes // Fix for models that don't support PPT settings in all modes, setting a "manual" mode for them
if (AppConfig.ContainsModel("GU603") || AppConfig.ContainsModel("GU604") || AppConfig.ContainsModel("FX517") || AppConfig.ContainsModel("G733")) if (AppConfig.ContainsModel("GU604") ||
AppConfig.ContainsModel("FX517") ||
AppConfig.ContainsModel("G733"))
{ {
Program.acpi.DeviceSet(AsusACPI.PerformanceMode, AsusACPI.PerformanceManual, "CustomMode"); Program.acpi.DeviceSet(AsusACPI.PerformanceMode, AsusACPI.PerformanceManual, "CustomMode");
if (AppConfig.getConfigPerf("auto_apply") != 1) AutoFans(true); if (AppConfig.getConfigPerf("auto_apply") != 1) AutoFans(true);
delay = 500; delay = 500;
} }
} }
if (delay > 0) if (delay > 0)
{ {
var timer = new System.Timers.Timer(delay); var timer = new System.Timers.Timer(delay);