- PC WON T STAY IN SLEEP MODE SOFTWARE
- PC WON T STAY IN SLEEP MODE CODE
- PC WON T STAY IN SLEEP MODE PC
However, if this is happening to you and you want to leave everything set up the way it is, Dmitry put together a PowerShell script to fix it. So would quitting the GeForce Experience app.
PC WON T STAY IN SLEEP MODE PC
So right here, we can see that if a PC isn't sleeping while GeForce Experience is running, unplugging any controller might be enough to fix it. Just having the joystick plugged in seemed like enough to make the overlay think it found some input. He discovered that the Shadow Play overlay was constantly polling raw input devices looking for anything, and if it found something it'd keep the display active. Then he hooked into NVIDIA's Share utility with 圆4dbg to look for a cause. He wrote a utility to keep track of when the system last received input from any device using Microsoft's XInput API, and it correctly identified that there was no input. Dmitry reported his findings to NVIDIA, but also wanted to take a crack at fixing it. Similarly, turn off Shadow Play and leave the joystick enabled, and it also allows the display to sleep. Unplug the joystick with the overlay enabled and it was fine. It's a great tool to share gameplay videos on YouTube or social media.Īs Dmitry outlined in his blog post, as long as the controller was connected to the PC and Shadow Play was enabled, the system wouldn't let the display go to sleep.
Then when something the player wants to save happens in the game, hit a hotkey and that video is committed to the disk. Shadow Play is a fun part of GeForce Experience that is always keeping track of what's going on in a game and recording the last little bit of game play using the GeForce GPU's video encoder.
PC WON T STAY IN SLEEP MODE CODE
Part of the code of Dmitry's debug tool for raw input When he turned off the overlay, the display would go to sleep like normal, but when the Shadow Play and sharing overlay was enabled, the system stayed awake. As it turns out, it's GeForce Experience's Shadow Play. Why on earth would NVIDIA's optimization tool stop a PC from sleeping just because a controller changed? According to the Windows control panel, there wasn't any analog drift causing the system to register input. What he discovered is that most folks who had a controller keeping a system awake managed to track it down to the GeForce Experience game library application. He'd gotten a new flight stick, and that was the only change to his machine, so it was time to go to Google. Dmitry outlined the investigative process on his blog, Details of Note, and it's a fun read. Windows Power Management tools were of no help, as there were no outstanding requests. However, that didn't work for one developer named Dmitry. Many times it's easy to find the cause of sleep issues just go to an administrative command prompt and enter powercfg /requests to see what's keeping the system up at night.
Such seems to be the case with NVIDIA's GeForce Experience, as many users have discovered removing the app lets their PCs return to a restful state.
PC WON T STAY IN SLEEP MODE SOFTWARE
Hardware these days seems to be pretty reliable, but the occasional software bug can get in the way. It seems like either the system won't go to sleep, or it won't start up right after sleeping. Power management bugs are often the worst to get sorted. Troubleshooting issues with our PC can be a frustrating experience, especially if the cause of the problem is hard to detect.