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

Toggling off Awake does not stop Awake #15052

Closed
1 task done
nextstate opened this issue Dec 17, 2021 · 11 comments
Closed
1 task done

Toggling off Awake does not stop Awake #15052

nextstate opened this issue Dec 17, 2021 · 11 comments
Assignees
Labels
Issue-Bug Something isn't working Needs-Team-Response An issue author responded so the team needs to follow up Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Product-Awake Issues regarding the PowerToys Awake utility

Comments

@nextstate
Copy link

Microsoft PowerToys version

0.51.1

Running as admin

  • Yes

Area(s) with issue?

Awake

Steps to reproduce

  1. I toggle Awake on to keep my system awake so that my screens do not shutoff after a few minutes of inactivity.
  2. Several hours later, I toggle Awake off and I lock my computer with Win-L.

✔️ Expected Behavior

I expected that after toggling Awake off, the screens would shutoff after a few minutes, after I lock the computer with Win-L

❌ Actual Behavior

The screens remain on constantly while I have the computer locked.

The only way to get out of this mode is to exit PowerToys. Then I can re-launch PowerToys with Awake toggled off and the screens will then shutoff as expected when I lock the computer with Win-L.

Other Software

No response

@nextstate nextstate added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Dec 17, 2021
@Jay-o-Way Jay-o-Way added the Product-Awake Issues regarding the PowerToys Awake utility label Dec 17, 2021
@Jay-o-Way
Copy link
Collaborator

cc @dend

@htcfreek
Copy link
Collaborator

There is a known bug that awake isn't closed/killed correctly.

@crutkas crutkas removed the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Dec 21, 2021
@nextstate
Copy link
Author

Has this been fixed?

I updated to PowerToys 0.53.1 prior to 1/7/2022. This did not fix the issue.

I had to reboot my machine due to Windows updates on 1/8/2022.

Before the reboot, I had Awake toggled off in PowerToys.
After the reboot, Awake was toggled ON in PowerToys.
I opened Task Manager and found the PowerToys.Awake process in the Details tab.
I then toggled Awake off in PowerToys. I observed that the PowerToys.Awake process went away.
I locked my screen and after a few minutes, my screens shutoff.

So, this seems to be working for me at the moment. Was that expected?

@dend
Copy link
Collaborator

dend commented Jan 29, 2022

@nextstate - following-up on this issue, I can't reproduce the behavior, and it seems like Awake acts correctly. How were you toggling Awake - through Settings or the tray? Also, what is the OS version you're running?

@dend dend self-assigned this Jan 29, 2022
@dend dend added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Jan 29, 2022
@ghost ghost added the Status-No recent activity no activity in the past 5 days when follow up's are needed label Feb 3, 2022
@ghost
Copy link

ghost commented Feb 3, 2022

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.

@nextstate
Copy link
Author

@dend As I mentioned in a previous comment, it started working for me. I mentioned that it started working after a Windows update. In my comment I was asking if this was fixed. Maybe something in the Windows updated fixed it?

@ghost ghost added Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Status-No recent activity no activity in the past 5 days when follow up's are needed labels Feb 4, 2022
@zotabee
Copy link

zotabee commented Aug 31, 2022

Still an issue on Win 11 x64 clean, not domain-joined.

Power mode is and always was : Balanced

I'm wondering if there isn't a global issues with the toggle buttons inside Powertoys.

For example, toggling "Keep screen on" in the PowerToys Settings / Awake UX doesn't seem to trigger the "tick" on the task bar. Same thing with the task bar buttons, doesn't update what's in the main UX even when changing panel (going onto another page and going back to "Awake", it doesn't update the toggles).

And I confirm that even with Awake "off" (and the awake process being killed properly in the task manager), it didn't solve the issue. It seems triggering multiple time the toggles ("Keep using the selected power plan" and "Keep screen on" to "Off") finally updated the settings properly somewhere on the backend.

@dend
Copy link
Collaborator

dend commented Nov 17, 2022

@zotabee can you please confirm if the issue is still there with the latest release of Awake?

@zotabee
Copy link

zotabee commented Nov 18, 2022

@dend It seems the UI is correctly triggering the settings and it updates the taskbar awake UI ticks.

But the reverse, changing settings from the taskbar doesn't seem to impact UI toggles... Like if it did nothing at all...

Any news in the changelog that would suggest it has been fixed in the meantime?

@dend
Copy link
Collaborator

dend commented Feb 20, 2023

That is currently by design, but I would say that it's something that needs to change. Let me see if I can push this through in #24183.

@dend
Copy link
Collaborator

dend commented Feb 21, 2023

Consolidating the conversation on this in #12126.

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 Needs-Team-Response An issue author responded so the team needs to follow up Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Product-Awake Issues regarding the PowerToys Awake utility
Projects
None yet
Development

No branches or pull requests

6 participants