Hi Ken, you’ve already done the things that fix this for most people, so let me point at the two that specifically trip up a newer laptop like the Envy.
Yardstick’s “Keep Computer Awake” is working, but it helps to know what it can and can’t do. It tells Windows “don’t idle-sleep while I’m running,” and that holds against the normal sleep timer. What it can’t override are two things Windows handles at a lower level:
1. Closing the lid. If it sleeps when the lid is shut, no app setting and no “never sleep” timer will stop it, the lid action is separate. Set it here: Control Panel > Hardware and Sound > Power Options > “Choose what closing the lid does,” and set When I close the lid: Plugged in to Do nothing. (Leaving it as Sleep on battery is fine.) This is the single most common cause.
2. Modern Standby. Most new HP laptops, the Envy included, use “Modern Standby” (S0) instead of the old sleep. On those, the machine can still slip into a low-power standby even with the timers set to Never, and it’s far more aggressive on battery than plugged in. Two things help:
- Keep it plugged in. Modern Standby on battery will sleep almost regardless of settings.
- Check which mode you have: press Start, type
cmd, open Command Prompt, and run powercfg /a. If you see “Standby (S0 Low Power Idle)” listed at the top, that’s the mode you’re on.
One more hidden setting worth flipping is the System unattended sleep timeout. After any wake, Windows can re-sleep in 2 minutes no matter what your other settings say, and it’s hidden from the normal screens. Easiest fix, in that same Command Prompt:
powercfg /setacvalueindex scheme_current sub_sleep UNATTENDSLEEP 0
powercfg /setactive scheme_current
That sets it to never while plugged in.
About the wake-timer setting you turned on: that one controls whether things are allowed to wake the machine, not whether it stays awake, and Yardstick doesn’t use a wake timer to stay up (it holds an active keep-awake request the whole time it’s running). So it won’t be what’s keeping it asleep, leave it however you like.
If you want to see exactly what’s going on, two commands tell the story:
powercfg /requests — while Yardstick is running you should see it listed under SYSTEM. That confirms the keep-awake is active.
powercfg /lastwake, plus the System log in Event Viewer filtered for “Kernel-Power,” will tell you what actually put it to sleep.
Hope this helps - others will probably have other ideas as well.