microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.95k stars 6.6k forks source link

awake not observing the powertoys setting of keep awake indefinitely #35572

Open minoseah629 opened 1 month ago

minoseah629 commented 1 month ago

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

similar-issues-ai[bot] commented 1 month ago

We've found some similar issues:

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.

dend commented 2 weeks ago

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

minoseah629 commented 2 weeks ago

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.

dend commented 2 weeks ago

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.

minoseah629 commented 1 week ago

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.

dend commented 1 week ago

@minoseah629 is this the output while Awake is running?

minoseah629 commented 2 days ago

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

@minoseah629 is this the output while Awake is running?

Image

minoseah629 commented 1 day ago

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.
dend commented 11 hours ago

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?

minoseah629 commented 10 hours ago

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.