If you want USB ports to keep supplying power in sleep mode, just uncheck “ Allow the computer to turn off this device to save power“. When the Device Manager window opens, expand the Universal Serial Bus controllers branch, then right-click the USB Root Hub device and select Properties.Press the Windows key + R to open the Run box.
Method 1: Enable / Disable Power Saving on USB Ports In this tutorial we’ll show you 2 methods to set Windows to power on or off USB devices in sleep mode. Keyboard or mouse not working after your PC wake up from sleep? When you’re charging your phone through an USB port, putting your PC into sleep mode will turn off the power to USB ports, and your phone will stop charging.