Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

USB Sleep Settings: Stop Devices Cutting Out or Waking the PC

· 6 min read · Home Tech

In this article
  1. Change the USB Sleep Settings That Matter
  2. Match the Fix to the Symptom You Actually Have
  3. Where USB Sleep Fixes Go Wrong
  4. Decide How Much Power Saving to Give Up
  5. USB Sleep Settings That Still Confuse People

USB sleep settings control whether your computer powers down USB ports (and the devices on them) when it sleeps or saves power. In Windows, the two switches that matter are USB selective suspend in your power plan and the "Allow the computer to turn off this device" checkbox under each device in Device Manager.

Time 10 min · Steps 6 · Level Easy

Most people get the direction wrong: they hunt for one global setting, when Windows actually has two separate ones. One controls the ports (power plan), the other controls each individual device (Device Manager). A mouse that keeps dying and a keyboard that keeps waking the PC are fixed in different places, and sometimes you need both.

Change the USB Sleep Settings That Matter

  1. Open the power options. Press the Start button, type "power plan", and choose Edit power plan, then select Power Options. From there, pick "Change plan settings" next to your active plan, then "Change advanced power settings".
  2. Find USB selective suspend. In the advanced settings list, expand USB settings, then USB selective suspend setting. Set it to Disabled for both "On battery" and "Plugged in" if you want ports to stay fully powered. This stops Windows from cutting power to idle USB ports to save energy.
  3. Check each device's power management. Right-click Start, choose Device Manager, expand Universal Serial Bus controllers, then double-click a "USB Root Hub" entry. On the Power Management tab, untick "Allow the computer to turn off this device to save power". Repeat for each root hub listed. Labels can differ slightly by system version.
  4. Repeat for the problem device's own category. A mouse, keyboard or headset also appears under its own section (Mice, Keyboards, Audio inputs and outputs). Those entries can have their own Power Management tab with the same checkbox, so untick it there too if a specific device keeps dropping out.
  5. Stop a device waking the PC (the reverse problem). In Device Manager, double-click your keyboard or mouse, open the Power Management tab, and untick "Allow this device to wake the computer". On a laptop, also open an admin Command Prompt and run powercfg /devicequery wake_armed to see exactly which devices are allowed to wake the machine.
  6. Restart and test. Put the PC to sleep, wake it, and confirm the device works straight away. If a device still drops out, unplug it, plug it into a different port (preferably one directly on the tower or laptop, not a hub), and repeat the checks.

Match the Fix to the Symptom You Actually Have

"USB sleep settings" covers three different problems, and the fix depends on which one is yours. Pick the row that matches before changing anything, so you don't disable power saving you actually want.

SymptomSetting to changeTrade-off
Device dies or stutters after idle (headset, mouse, MIDI keyboard)USB selective suspend + the device's Power Management checkboxSlightly higher idle power use
PC wakes from sleep by itself"Allow this device to wake the computer" on the suspect deviceThat device can no longer wake the PC; use the power button instead
Phone or gadget stops charging when the laptop sleepsLaptop USB sleep-and-charge feature in BIOS/UEFI or vendor software, if the model supports itCharging drains the laptop battery

Rule of thumb: if the device misbehaves while you use the computer, it's selective suspend or the Power Management checkbox. If it misbehaves only after sleep, it's wake settings or a driver that isn't re-initialising on resume.

Where USB Sleep Fixes Go Wrong

The most common miss is fixing only the root hubs and skipping the device's own entry. A USB headset that cuts out has its own Power Management tab under Audio inputs and outputs, and that checkbox overrides what you did at the hub level. Go through both, in that order.

The second miss is confusing sleep with hibernate and shutdown. USB selective suspend affects idle ports while the system is running; it does nothing once the PC is fully asleep. If ports are dead only after waking from sleep, the cause is usually a driver that fails to re-enumerate the device, and updating or reinstalling the device driver in Device Manager (right-click, Uninstall device, then restart) is the fix.

The third is hubs. A cheap unpowered hub can drop devices even with every setting correct, because the hub itself loses power or renegotiates. Test the device directly in a port on the computer before blaming Windows. A powered hub (one with its own wall adapter) holds devices steady where a bus-powered one doesn't.

On a Mac, the equivalent controls are narrower: open System Settings, then Battery or Energy Saver, and check the wake and power settings there. macOS manages USB power per device automatically, and there is no user-facing selective suspend switch; if a device drops out, test the port and cable first.

Decide How Much Power Saving to Give Up

Disabling selective suspend everywhere costs you a little battery life on a laptop and nothing meaningful on a desktop. If you only have one problem device, leave selective suspend enabled globally and untick only that device's own power management checkbox, then test for a day. That keeps most of the power saving and fixes the annoyance.

For devices that must never sleep, such as an audio interface or an external drive you record to, disable power management for that device specifically and keep it on a direct port. For a keyboard you want to use to wake the laptop, do the opposite: leave its wake permission ticked and untick the wake permission on anything else, so a bump of the desk can't wake the machine.

USB Sleep Settings That Still Confuse People

Does turning off USB selective suspend stop my phone charging overnight?

No. Once the computer sleeps or shuts down, that setting is out of the picture. Charging while the laptop sleeps depends on the laptop's USB sleep-and-charge support, which is set in the manufacturer's firmware setup screen or utility if the model offers it at all.

Why does my mouse wake the PC even after I unticked its wake setting?

Something else is armed. Run powercfg /devicequery wake_armed in an admin Command Prompt to list every device with wake permission, then untick the ones you don't want. Scheduled tasks and wake timers can also wake a PC; those appear under Power Options advanced settings, Sleep, Allow wake timers.

Is it bad to leave USB selective suspend off all the time?

No harm comes to the hardware. Ports simply stay powered at full idle current. On a desktop, the difference is negligible; on a laptop, expect somewhat shorter battery runtime, which is why the per-device approach is usually the better compromise.

Do these settings exist on Windows laptops and desktops alike?

Yes, both have the same power plan and Device Manager controls. Laptops show an extra "On battery" column in the advanced power settings, so set both columns when you make a change there.

Official source: Microsoft Support