Skip to content

Commit d8720ca

Browse files
committed
Init Optimal Brightness on every wake up #3595
1 parent d57369c commit d8720ca

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

app/Program.cs

+2-5
Original file line numberDiff line numberDiff line change
@@ -233,11 +233,8 @@ public static bool SetAutoModes(bool powerChanged = false, bool init = false)
233233
Logger.WriteLine("AutoSetting for " + isPlugged.ToString());
234234

235235
BatteryControl.AutoBattery(init);
236-
if (init)
237-
{
238-
InputDispatcher.InitScreenpad();
239-
screenControl.InitOptimalBrightness();
240-
}
236+
if (init) InputDispatcher.InitScreenpad();
237+
screenControl.InitOptimalBrightness();
241238

242239
inputDispatcher.Init();
243240

0 commit comments

Comments
 (0)