[Awake]Reset Awake mode to "Keep using the selected power plan" (#31402)

* [Awake] Reset Awake mode to "Keep using the selected power plan"

* [Awake] Remove duplicated code.

* [Awake] Set passive even there is an issue in settings file.

* [Awake] Remove unnecessary code
This commit is contained in:
gokcekantarci
2024-02-27 17:35:33 +03:00
committed by GitHub
parent 81a6cde7a5
commit 4600bba7b6
3 changed files with 25 additions and 15 deletions

View File

@@ -15,7 +15,7 @@ namespace Microsoft.PowerToys.Settings.UI.Library
KeepDisplayOn = false;
Mode = AwakeMode.PASSIVE;
IntervalHours = 0;
IntervalMinutes = 0;
IntervalMinutes = 1;
ExpirationDateTime = DateTimeOffset.Now;
CustomTrayTimes = new Dictionary<string, int>();
}