50W limit max for Ally

This commit is contained in:
Serge
2023-08-18 12:16:19 +02:00
parent 0069234563
commit 3652e4d0ff
2 changed files with 10 additions and 1 deletions

View File

@@ -221,6 +221,11 @@ public class AsusACPI
DefaultTotal = 50;
}
if (AppConfig.IsAlly())
{
MaxTotal = 50;
DefaultTotal = 30;
}
}

View File

@@ -1008,7 +1008,11 @@ namespace GHelper
buttonStopGPU.Visible = true;
SetContextMenu();
if (HardwareControl.FormatFan(Program.acpi.DeviceGet(AsusACPI.GPU_Fan)) is null) panelGPU.Visible = false;
var gpuFan = Program.acpi.DeviceGet(AsusACPI.GPU_Fan);
Logger.WriteLine("GPU check:" + gpuFan);
if (HardwareControl.FormatFan(gpuFan) is null) panelGPU.Visible = false;
}