Skip to content

Commit

Permalink
Fix for GA402XI
Browse files Browse the repository at this point in the history
  • Loading branch information
seerge committed Jul 5, 2023
1 parent 2d4e794 commit bb5aeba
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions app/Mode/ModeControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,11 @@ private static bool IsManualModeRequired()
AppConfig.ContainsModel("G733");
}

private static bool IsFanRequired()
{
return AppConfig.ContainsModel("GA402XI") || AppConfig.ContainsModel("G513");
}

public void AutoPower(int delay = 0)
{

Expand All @@ -182,8 +187,8 @@ public void AutoPower(int delay = 0)

if (applyPower)
{
// force fan curve for misbehaving bios PPTs on G513
if (AppConfig.ContainsModel("G513") && !applyFans)
// force fan curve for misbehaving bios PPTs on some models
if (!applyFans && IsFanRequired())
{
delay = 500;
AutoFans(true);
Expand Down

0 comments on commit bb5aeba

Please sign in to comment.