Originally Posted by vf-
Those would be under Control Panel/System/Power & Sleep - Additional Power/Change Plan setting/Change Advanced Power setting - USB Settings - USB selective suspend setting - Disabled.
Rather than faffing which each setting.
Originally Posted by breh
Believe it or not, I had already disabled this setting, and even used the power settings explorer program to unlock the hidden power-saving settings, such as USB 3.0 Link Power management, AND use the windows ultimate performance power plan, and the power-saving behaviour still happened as I described (e.g. leaving PC untouched for 1-2 hours and the mouse not immediately waking up upon using it). As far as I know, I have performed every single tweak and optimisation known to man to disable power-saving, and it still didn't stop until I went through the entire list and manually disabled the setting. I'm pretty sure the selective suspend settings apply at every level of the controller e.g. host controller, root hub, composite device etc., and windows actively tries to implement power-saving whenever and wherever it can.
As we all know, USB selective suspend is kinda broken, and even appears in games when the USB devices are being actively used. If there's even the slightest chance of power-saving settings in the pathway chain to your mouse/keyboard, it should be disabled, give it a shot if you see some inconsistency. It means you can at least rule it out as a problem. Spending 5-10 minutes mindlessly clicking through properties (I had 43 entries that I went over, and only have 4 external USB devices connected, and some corsair fans connected with the internal USB port) isn't too much time in the grand scheme of things, considering some of us have spent years dealing with this stuff.
Something interesting to note about this discussion of disabling USB selective suspend and going through each individual USB device listing under Device Manager and unchecking the "Allow PC to turn off this device to save power" checkbox.
I learned that you can do both of the things above and some devices will STILL get suspended regardless of what you have set.
If you go into your Registry Editor and go to the following location: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlS et\Enum\USB\
You will find a bunch of folders with names similar to "VID_04BF&PID_0320". These are the hardware ID's of your USB devices. Going under each of these folders you will find a folder called "Device Parameters" and then should look for ones that have the key called "DeviceSelectiveSuspended" with a value of 1. This indicates that the device is selective suspended or will get suspended. I was super mind boggled to find MANY devices that had a value of 1 even though I have USB selective suspend completely disabled in my power options and the "Allow PC to turn off this device to save power" checkbox unchecked. Ideally, you would want to go through every single device that has the "DeviceSelectiveSuspended" key and set them to 0.
Also keep in mind there might be some finicky devices where the key might eventually revert back to a 1 and you would have to change it back to 0. The only one that has done that for me is a TDK Bluetooth USB dongle, so what I ended up doing for that one is going into it's Permissions and basically made it read-only so that the SYSTEM or ADMINISTRATORS are not allowed to make any changes to the keys of that device.
Anyways, this might not be something that helps those with electricity issues or whatever, but just wanted to state what I found for anyone that was messing about with these settings earlier on.