Sleep not blocked automatically

Hi all,

Is there a way to have Steam automatically block sleep and screen locking when playing a game? I seem to remember there once being an entry in the power options menu that said "Steam is blocking sleep and screen locking", but that doesn't show up at all anymore. It also does not show up when playing music through Spotify. I can block sleep and locking manually, but if I forget and leave the game on the menu for too long, the computer will go to sleep. This will of course cause issues with resolution, or worse. I've tried searching, but it's hard to find and answer to this, since most people have the opposite issue.

I think the "-gamemoderun" flag would solve this, but lately when I add that to games, they do not launch.

Thank you!
Was this page helpful?