PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

awake not observing the powertoys setting of keep awake indefinitely

Open minoseah629 opened this issue 1 year ago • 14 comments

Microsoft PowerToys version

0.85.1

Installation method

PowerToys auto-update

Running as admin

Yes

Area(s) with issue?

Awake

Steps to reproduce

PowerToysReport_2024-10-24-14-11-09.zip enable awake select keep awake indefinitely enable keep screen on

✔️ Expected Behavior

screen should not sleep

❌ Actual Behavior

screen sleeps

Other Software

No response

minoseah629 avatar Oct 24 '24 18:10 minoseah629

We've found some similar issues:

  • #34487 , similarity score: 89%
  • #35054 , similarity score: 86%
  • #27178 , similarity score: 86%
  • #29167 , similarity score: 86%
  • #25771 , similarity score: 86%
  • #32005 , similarity score: 85%
  • #16751 , similarity score: 85%
  • #19542 , similarity score: 83%
  • #15109 , similarity score: 83%
  • #19408 , similarity score: 82%
  • #18214 , similarity score: 82%
  • #32544 , similarity score: 82%

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

similar-issues-ai[bot] avatar Oct 24 '24 18:10 similar-issues-ai[bot]

When you put Awake in this state, can you share the output of powercfg /requests?

dend avatar Nov 19 '24 02:11 dend

hello @dend,

I am currently on 0.86.0 and it's no longer an issue.

But here is the output of your request:

DISPLAY: [PROCESS] \Device\HarddiskVolume3\Users\xxx.xxx\AppData\Local\PowerToys\PowerToys.Awake.exe

SYSTEM: [PROCESS] \Device\HarddiskVolume3\Users\xxx.xxx\AppData\Local\PowerToys\PowerToys.Awake.exe

AWAYMODE: None.

EXECUTION: None.

PERFBOOST: None.

ACTIVELOCKSCREEN: None.

minoseah629 avatar Nov 19 '24 14:11 minoseah629

Thanks @minoseah629 - looks like Awake is working correctly then. Do keep me posted if this issue resurfaces. I will close the current item for now.

dend avatar Nov 19 '24 18:11 dend

hello, this appears to be happening again.

the thing that changed was my machine updated to: 2024-11 Cumulative Update Preview for Windows 11 Version 23H2 for x64-based Systems (KB5046732)

PowerToysReport_2024-11-24-11-21-43.zip

powercfg /requests output: DISPLAY: None.

SYSTEM: None.

AWAYMODE: None.

EXECUTION: None.

PERFBOOST: None.

ACTIVELOCKSCREEN: None.

minoseah629 avatar Nov 24 '24 16:11 minoseah629

@minoseah629 is this the output while Awake is running?

dend avatar Nov 27 '24 19:11 dend

i believe it was running when i did it earlier. but double checking

@minoseah629 is this the output while Awake is running?

Image

minoseah629 avatar Dec 02 '24 21:12 minoseah629

i turned awake off and on again and got:

DISPLAY:
[PROCESS] \Device\HarddiskVolume3\Program Files\WindowsApps\MSTeams_24295.605.3225.8804_x64__8wekyb3d8bbwe\ms-teams.exe
Screen lock block

SYSTEM:
[DRIVER] Realtek High Definition Audio(SST) (INTELAUDIO\FUNC_01&VEN_10EC&DEV_0287&SUBSYS_17AA2304&REV_1000\5&6b28272&0&0001)
An audio stream is currently in use.
[PROCESS] \Device\HarddiskVolume3\Program Files\WindowsApps\MSTeams_24295.605.3225.8804_x64__8wekyb3d8bbwe\ms-teams.exe
Suspend block

AWAYMODE:
None.

EXECUTION:
None.

PERFBOOST:
None.

ACTIVELOCKSCREEN:
None.

minoseah629 avatar Dec 03 '24 14:12 minoseah629

Looking at the screens above, doesn't seem like Awake is working at all - it's not listed as a process. I wonder if it crashed. Can you please provide your logs in this issue?

dend avatar Dec 04 '24 21:12 dend

PowerToysReport_2024-12-04-16-58-02.zip

unsure when this the value changed, but looks like a good state again.

DISPLAY: [PROCESS] \Device\HarddiskVolume3\Users\xxx.xxx\AppData\Local\PowerToys\PowerToys.Awake.exe

SYSTEM: [PROCESS] \Device\HarddiskVolume3\Users\xxx.xxx\AppData\Local\PowerToys\PowerToys.Awake.exe

AWAYMODE: None.

EXECUTION: None.

PERFBOOST: None.

ACTIVELOCKSCREEN: None.

minoseah629 avatar Dec 04 '24 22:12 minoseah629

something changed it back to not normal.

PowerToysReport_2024-12-10-11-45-36.zip

DISPLAY: None.

SYSTEM: None.

AWAYMODE: None.

EXECUTION: [PROCESS] \Device\HarddiskVolume3\Users\xxx.xxx\AppData\Local\Temp\wfmhijip.ux3\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\BackgroundDownload.exe Visual Studio Installer

PERFBOOST: None.

ACTIVELOCKSCREEN: None.

minoseah629 avatar Dec 10 '24 16:12 minoseah629

@minoseah629 and that is while Awake seems to be running in PowerToys settings?

dend avatar Dec 10 '24 19:12 dend

@minoseah629 and that is while Awake seems to be running in PowerToys settings?

Correct. That's how I got the zip file to be created from report bug.

minoseah629 avatar Dec 11 '24 00:12 minoseah629

As mentioned in #37589 is this related to the PC being put to sleep and reawakened?

I've noticed this behaviour quite a bit.

My /requests seem ok:

DISPLAY:
None.

SYSTEM:
[PROCESS] \Device\HarddiskVolume4\Program Files\PowerToys\PowerToys.Awake.exe

AWAYMODE:
None.

EXECUTION:
None.

PERFBOOST:
None.

ACTIVELOCKSCREEN:
None.

Tray icon looks OK too:

Image

However I woke the PC from sleep this morning - did 30 min work, went away for 30 min and came back and it was asleep.

There seems to be an issue where it looks like it is in the correct state but doesn't do anything. If I go to the tray icon and disable then re-enable Awake it seems to work.

EDIflyer avatar May 21 '25 07:05 EDIflyer