PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

awake never goes OFF (even when you select OFF)

Open Bejito81 opened this issue 3 years ago • 1 comments

Microsoft PowerToys version

0.64.0

Installation method

PowerToys auto-update

Running as admin

No

Area(s) with issue?

Awake

Steps to reproduce

you check powercfg /requests (should be empty if nothing is running)

you set some mode different from OFF in the drop down

you check powercfg /requests and you should see awake present there

you set OFF in mode

you check powercfg /requests and awake is still present there

✔️ Expected Behavior

awake doesn't block the system when set to off

❌ Actual Behavior

awake never goes off, unless you use exit (or disabled from power toys menu)

also exit on the notification icon doesn't disable it in power toys

Other Software

No response

Bejito81 avatar Nov 05 '22 09:11 Bejito81

I'm running Windows 11 Pro 22H2 (OS build 22623.875) Windows Feature Experience Pack 1000.22636.1000.0, and awake works fine. But there's a catch: after I've run PowerToys and set the Awake app, my Taskbar no longer wants to hide. Restarting the OS is the only way I've found to get it to function as it's supposed to.

ghost avatar Nov 06 '22 11:11 ghost

I could get this but to 'reproduce' but i don't think it actually was misbehaving.

I've recently used it on my desktop pretty extensively and off, my machine worked correctly again.

  1. i ran powercfg /requests and it didn't show it.
  2. I reenabled Awake and it did show.
  3. disabled awake again ... AND the it still showed

now this is where it got interesting. I just quit the terminal window and opened a new one and tried it again, and it didn't show anymore.

I think you're seeing some quirk in powercfg /needinfo

crutkas avatar Feb 14 '23 05:02 crutkas

I believe what you might be seeing is a residual thread that is being cancelled/terminated. To reproduce, try these steps.

  1. Run Awake through PowerToys and select a mode of operation (Indefinitely is recommended). Make sure to also select the option to keep the display on.
  2. Run powercfg /requests and see the PowerToys.Awake.exe process keeping both DISPLAY and SYSTEM.
  3. Disable Awake (not by quitting but by selecting the passive mode).
  4. Run powercfg /requests and see the PowerToys.Awake.exe process keeping both DISPLAY and SYSTEM again.
  5. Wait 1 minute.
  6. Re-run powercfg /requests.

Do you still see the process there?

dend avatar Feb 20 '23 20:02 dend

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.

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.

All good here - has been for quite a while. Thanks.

ghost avatar Apr 21 '23 21:04 ghost