Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Awake customTrayTimes doesn't work properly for 24 hours or more #35848

Open
mselmanyildirim opened this issue Nov 8, 2024 · 2 comments
Open
Assignees
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.

Comments

@mselmanyildirim
Copy link

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 of settings.json of Awake 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 in settings.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

@mselmanyildirim mselmanyildirim added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Nov 8, 2024
@dend dend self-assigned this Nov 19, 2024
@dend dend added Product-Awake Issues regarding the PowerToys Awake utility and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Nov 19, 2024
@dend
Copy link
Collaborator

dend commented Nov 27, 2024

Can reproduce this. Investigating the issue.

dend added a commit to dend/PowerToys that referenced this issue Nov 27, 2024
@dend
Copy link
Collaborator

dend commented Nov 27, 2024

Will be fixed with #36049.

@dend dend added the Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release. label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

2 participants