mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
CPU power limits
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user