diff --git a/app/Program.cs b/app/Program.cs index d03df92f..7699ae4f 100644 --- a/app/Program.cs +++ b/app/Program.cs @@ -278,6 +278,7 @@ namespace GHelper } if (SystemInformation.PowerStatus.PowerLineStatus == isPlugged) return; + if (AppConfig.Is("disable_power_event")) return; SetAutoModes(true); }