This commit is contained in:
Serge
2024-02-03 11:43:25 +01:00
parent b402535a73
commit 71c31d6dde
2 changed files with 8 additions and 1 deletions

View File

@@ -249,6 +249,13 @@ namespace GHelper
gpuControl.StandardModeFix();
}
int delay = AppConfig.Get("charger_delay");
if (delay > 0)
{
Logger.WriteLine($"Charger Delay: {delay}");
Thread.Sleep(delay);
}
if (SystemInformation.PowerStatus.PowerLineStatus == isPlugged) return;
SetAutoModes(true);
}