Open SD777x opened 7 months ago
/bugreport
That's odd I did include a bug report, reposting it here. PowerToysReport_2024-03-20-11-44-31.zip
I can't really speak on whether or not it keeps my gaming laptop awake, because I don't let it sleep when plugged in, but I will say that Awake's "Keep screen on" has absolutely no affect on my LG 48GQ900-B (via DisplayPort). With Awake enabled, the display will fall asleep in 5 mins if you go AFK.
The auto-dimming and sleep anti-features are some of the biggest complaints about this display actually. There are NO SETTINGS to adjust it built into the display, which is pretty gay. Any sort of workaround for this would be great.
I can't really speak on whether or not it keeps my gaming laptop awake, because I don't let it sleep when plugged in, but I will say that Awake's "Keep screen on" has absolutely no affect on my LG 48GQ900-B (via DisplayPort). With Awake enabled, the display will fall asleep in 5 mins if you go AFK.
The auto-dimming and sleep anti-features are some of the biggest complaints about this display actually. There are NO SETTINGS to adjust it built into the display, which is pretty gay. Any sort of workaround for this would be great.
Yeah this Awake feature doesn't work AT ALL on my laptop, it still goes to sleep. Seems like it's broken.
@KirkH420 @SD777x - please add your logs to the issue, so that I can take a look and see what might be happening.
@KirkH420 @SD777x - please add your logs to the issue, so that I can take a look and see what might be happening.
I added my log already if you scroll up.
I'm having this issue after 0.81.0. It was working just fine until 0.81.0 for me, but now my pc goes to sleep after whatever time I have my pc set to auto-sleep.
Almost 3 months later and no one has even looked at my log files? Is there any progress on this, it continues to be an issue and I really need something I can rely on. Alternatively does anyone have another app suggestion which actually works to keep the PC awake?
PS: Please don't tell me to upload the log files, they are right there a few posts above.
I have similar issue. For a while now, My Laptop goes to sleep at night when it is set to never go to Sleep. When in that state I cannot wake it up. I have to do a hard reboot to restart which was the main reason I did not want it to go to Sleep. Installed Awake in Hope to solve the issue but no dice. Issue started about a year ago. Installed Awake/Power toy 2 days ago. Laptop Zenbook 15 circa 2019: Device name Zen15JM Processor Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz 1.99 GHz Installed RAM 16.0 GB (15.8 GB usable) Device ID 835F24F0-2B71-4DB5-89C1-CC799C6DEEB6 Product ID 00330-52164-82333-AAOEM System type 64-bit operating system, x64-based processor Pen and touch Touch support with 5 touch points
Edition Windows 11 Pro Version 23H2 Installed on 11/19/2022 OS build 22631.3672 Experience Windows Feature Experience Pack 1000.22700.1009.0
@JmarcZ @Tman1314 @SD777x when Awake is set to keep awake indefinitely, can you please post the output of powercfg /requests
(needs an elevated prompt)?
HI Den
Here it is: [cid:4c57894b-0f0a-4a6a-a3c2-44a64e019125]
Every night My screen goes to Lock after 3 hours( power profile). But sometimes after, the Computer seems to want to go to Hibernate. I found the Unit locked and and I am Unable to get it to resume. I have to do a hard boot to restart. In the event Log, I get message that the Previous shutdown was unExpected(obviously)...
[cid:e2985f3e-2919-401a-8c3f-0bd0723d5850]
JMarc
@JmarcZ attachments do not get posted when replying via email. You'll have to login to GitHub.com and upload the attachments.
Here is the report:
And Here is the view of the event lg:
Thanks @JmarcZ - and the output of powercfg /requests
is while PowerToys Awake is running with indefinite keep-awake set? Because the output points to the fact that the PowerToys.Awake.exe
process did not issue any requests for power mode setup.
@JmarcZ @Tman1314 @SD777x when Awake is set to keep awake indefinitely, can you please post the output of
powercfg /requests
(needs an elevated prompt)?
I honestly gave up on this useless (no offense intended) app after months of waiting for a response, it simply doesn't work across the 3 PCs I've tested it on and I have an important workflow where I can't sit around for months on end waiting for a solution (or simply to get a dev response). For others who need a solid solution I found that keeping an old PS4 controller physically connected to USB keeps the PC from going to sleep!
Same problem here. I'm attaching the bug report zip. PowerToysReport_2024-08-01-07-37-00.zip
Also, here's the output of "powercfg /requests":
I'm on Microsoft Windows 11 Education. I have sleep entirely disabled in the power plan under settings and the power plan under the old Control Panel. I've made changes to Group Policy Sleep settings suggested in another bug thread to "allow applications to prevent automatic sleep". Nothing works, the computer will not stay awake. When I come to work, I'm greeted by a logjam of scheduled tasks suddenly trying to run at the same time - I need them to run at their scheduled times, and the "Wake the computer" settings in Windows 11 are just as cursed as everything else related to sleep. I even tried to disable Modern Standby in the computer BIOS, and it still goes into Modern Standby relentlessly. I'm tearing my hair out here.
The only thing that seems to work is playing music - that'll keep going while the computer is locked.
@tedstriker2 can you provide the make and model of the device you are using?
@tedstriker2 can you provide the make and model of the device you are using?
Sure, it's an HP EliteBook 650 15.6 inch G10 Notebook PC
System Model ZenBook UX534FT_UX534FT. Attached is the System Info file System info 2024-08-04.txt
@JmarcZ @tedstriker2 have you updated to the latest PowerToys to see if the issue is resolved with the new Awake?
@JmarcZ @tedstriker2 have you updated to the latest PowerToys to see if the issue is resolved with the new Awake?
@dend Yes, I have PowerToys 0.83.0. Since my last post I applied a registry patch to disable Modern Standby, and that fixed my issues with Windows Task Scheduler. However, it seems that Awake is still not keeping my computer awake (aside from running tasks). Here's the Event Log from when I started work this morning:
Details (Friendly View):
System
[ Name] Microsoft-Windows-Kernel-Power [ Guid] {331c3b3a-2005-44c2-ac5e-77220c37d6b4}
EventID 566
Version 0
Level 4
Task 268
Opcode 0
Keywords 0x8000000000000604
[ SystemTime] 2024-08-06T12:32:25.9032643Z
EventRecordID 41852
Correlation
[ ProcessID] 4 [ ThreadID] 13368
Channel System
Computer
[ UserID] S-1-5-18
EventData
BootId 28 Reason 32 PreviousSessionId 22 PreviousSessionType 1 PreviousSessionDurationInUs 53120369125 PreviousEnergyCapacityAtStart 41085 PreviousFullEnergyCapacityAtStart 51114 PreviousEnergyCapacityAtEnd 41224 PreviousFullEnergyCapacityAtEnd 51021 NextSessionId 24 NextSessionType 0 PowerStateAc true MonitorReason 32
Hi, Was up to 0.82.1. Just downloaded 0.83.0. Will report back.
@tedstriker2 from the powercfg /requests
output that you are showing, Awake is correctly grabbing a hold on the system to keep it awake, but seems like something else is interfering. Is this a laptop or a desktop? What power plan do you have enabled for it?
@tedstriker2 from the
powercfg /requests
output that you are showing, Awake is correctly grabbing a hold on the system to keep it awake, but seems like something else is interfering. Is this a laptop or a desktop? What power plan do you have enabled for it?
@dend It's a laptop - like I said before, a "HP EliteBook 650 15.6 inch G10 Notebook PC". I have a custom power plan with sleep disabled whether it's plugged in or charging. I disabled sleep through the control panel and the newer "Settings" interface. If you look at my earlier posts in this thread, I've tried disabling sleep six ways from Sunday. Playing music keeps the computer awake - nothing else works. Maybe I could play a mp3 on a loop with the volume turned down instead of using the Awake PowerToy.
@tedstriker2 from the
powercfg /requests
output that you are showing, Awake is correctly grabbing a hold on the system to keep it awake, but seems like something else is interfering. Is this a laptop or a desktop? What power plan do you have enabled for it?@dend It's a laptop - like I said before, a "HP EliteBook 650 15.6 inch G10 Notebook PC". I have a custom power plan with sleep disabled whether it's plugged in or charging. I disabled sleep through the control panel and the newer "Settings" interface. If you look at my earlier posts in this thread, I've tried disabling sleep six ways from Sunday. Playing music keeps the computer awake - nothing else works. Maybe I could play a mp3 on a loop with the volume turned down instead of using the Awake PowerToy.
As you can see from the powercfg
documentation, the /requests
argument should identify everything that "prevent the computer from automatically powering off the display or entering a low-power sleep mode." In your screenshot, Awake correctly issues a SYSTEM
hold, which should prevent your system from going to sleep.
Something else is interfering with the request and putting the machine to sleep anyway. Could be something specific to laptops, but I haven't seen that repro-d on my machine. I will have to investigate that further in future releases.
Not working for me on 1 laptop (both on battery and plugged in) and working on another (older laptop) with PowerToys 0.83.0.
Laptop's full model that is not working on is Asus Zenbook Pro 16X OLED UX7602BZ-DS99T
.
powercfg
output when Awake is on and not working (going to sleep, locking screen).
PS C:\> powercfg /requests
DISPLAY:
None.
SYSTEM:
[PROCESS] \Device\HarddiskVolume4\Scoop\apps\powertoys\0.83.0\PowerToys.Awake.exe
AWAYMODE:
None.
EXECUTION:
None.
PERFBOOST:
None.
ACTIVELOCKSCREEN:
None.
Power Options (default Balanced mode):
The only thing I think this new laptop has that can probably interfere with Awake is Microsoft Hello with IR camera and Presence Sensing (it detects when I go away and locks the screen and unlocks automatically when I come back to it). The settings look like the following:
I haven't tried to disable that and test Awake, but it may give you idea why Awake doesn't work in my case.
Experiencing this issue with v.0.84.1 - it worked OK for me previously (I can't remember quite which version).
Set to always stay awake, infinity icon showing on taskbar icon. However still goes to sleep.
Bug report attached.
powercfg /requests
output:
Microsoft Windows [Version 10.0.22631.4169]
(c) Microsoft Corporation. All rights reserved.
C:\Users\user>powercfg /requests
DISPLAY:
None.
SYSTEM:
[PROCESS] \Device\HarddiskVolume4\Program Files\PowerToys\PowerToys.Awake.exe
AWAYMODE:
None.
EXECUTION:
None.
PERFBOOST:
None.
ACTIVELOCKSCREEN:
None.
@EDIflyer seems like Awake correctly grabs a hold of the system. Are you running this on a laptop or desktop?
Hi @dend this is on a desktop. I have tried disabling and re-enabling it and for now it seems to be behaving more as expected - not sure if a setting perhaps didn't transfer over when there was one of the recent upgrades to PowerToys?
Hi, I have the same issue, after last update the Awake function stopped working
Microsoft PowerToys version
0.79.0
Installation method
Microsoft Store
Running as admin
Yes
Area(s) with issue?
Awake
Steps to reproduce
Awake is set to keep awake indefinitely but PC goes to sleep after about 1 day. Sleep settings in Windows are to never sleep on power and power is plugged in, and hibernate is disabled.
✔️ Expected Behavior
For PC to stay awake indefinitely
❌ Actual Behavior
PC goes to sleep after about 1 day.
Other Software
No response