Awake customTrayTimes doesn't work properly for 24 hours or more #35848
Labels
Issue-Bug
Something isn't working
Product-Awake
Issues regarding the PowerToys Awake utility
Resolution-Fix Committed
Fix is checked in, but it might be 3-4 weeks until a release.
Microsoft PowerToys version
0.86.0
Installation method
PowerToys auto-update
Running as admin
None
Area(s) with issue?
Awake
Steps to reproduce
I manually edit
customTrayTimes
field ofsettings.json
ofAwake
tool.Works great for values smaller than 86400 seconds. When I use the value 86400 seconds (which is 24 hours), it recognizes as 0 (zero), thus doesn't get activate. When I use a value larger than 86400 seconds, it recognizes as "value modulus 86400". If this is not the intended behavior (it is not documented so) values 86400 or more doesn't work properly.
✔️ Expected Behavior
If I edit
customTrayTimes
insettings.json
to have the value 86400, it should make PC stay awake for 24 hours.❌ Actual Behavior
86400 is interpreted as 0 (zero) so it doesn't get activated.
Other Software
No response
The text was updated successfully, but these errors were encountered: