diff --git a/app/Program.cs b/app/Program.cs index a19421cb..17a481b7 100644 --- a/app/Program.cs +++ b/app/Program.cs @@ -215,6 +215,8 @@ namespace GHelper isPlugged = SystemInformation.PowerStatus.PowerLineStatus; Logger.WriteLine("AutoSetting for " + isPlugged.ToString()); + BatteryControl.AutoBattery(init); + inputDispatcher.Init(); modeControl.AutoPerformance(powerChanged); @@ -227,8 +229,6 @@ namespace GHelper screenControl.AutoScreen(); } - BatteryControl.AutoBattery(init); - settingsForm.matrixControl.SetDevice(true); if (AppConfig.IsAlly())