mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
50W limit max for Ally
This commit is contained in:
@@ -221,6 +221,11 @@ public class AsusACPI
|
|||||||
DefaultTotal = 50;
|
DefaultTotal = 50;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (AppConfig.IsAlly())
|
||||||
|
{
|
||||||
|
MaxTotal = 50;
|
||||||
|
DefaultTotal = 30;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1008,7 +1008,11 @@ namespace GHelper
|
|||||||
buttonStopGPU.Visible = true;
|
buttonStopGPU.Visible = true;
|
||||||
|
|
||||||
SetContextMenu();
|
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;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user