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