Option to disable automated mode switching on power source change https://github.com/seerge/g-helper/issues/3139

This commit is contained in:
Serge
2024-09-21 17:51:09 +02:00
parent 59b5888632
commit e1c83da19b

View File

@@ -278,6 +278,7 @@ namespace GHelper
}
if (SystemInformation.PowerStatus.PowerLineStatus == isPlugged) return;
if (AppConfig.Is("disable_power_event")) return;
SetAutoModes(true);
}