Skip to content
PCFixWorkbench

USB · Windows 11

Fix USB ports that lose power when the PC sleeps, so nothing charges from them

Written December 1, 2026

You plug a phone into the sleeping PC overnight and wake to a flat battery. Windows is cutting USB power in sleep to save energy. Change the USB power settings first, and check whether your ports can charge in sleep at all.

What you need

Read the problem before you touch it

  1. Separate sleep from off, and from a dead port. Confirm the port charges fine while the PC is awake. This guide is only for ports that work awake and go dead in sleep. A port that never charges is a different fault — cable, port, or device.
  2. Know that cutting USB power in sleep is deliberate. Windows and the PC's firmware power down USB to save energy, especially on laptops running on battery. Nothing is broken when they do it; the settings below tell them you would rather have charging than the saving. On a desktop plugged into the wall, that trade is almost always worth making. On a laptop, expect sleep charging to cost battery — the phone's charge comes out of the laptop's battery when the laptop is unplugged.
  3. Accept that not every port can do this. Some PCs can only supply sleep power on specific ports — often marked with a battery or lightning symbol beside the port — and some cannot supply it at all because the hardware cuts the rail entirely. The settings come first; the port check in the advanced route settles what your PC supports. Microsoft's general USB troubleshooting is at Fix USB-C problems in Windows for connection faults beyond sleep power.

The simple fixes, in order

  1. Turn off USB selective suspend. Open Settings > System > Power & battery to confirm your power mode, then open the classic power options: search Start for Edit power plan, choose Change advanced power settings, expand USB settings > USB selective suspend setting, and set it to Disabled for both battery and plugged in, as they apply to your PC. Selective suspend is the setting that lets Windows power down USB devices it considers idle, and it is the first suspect for sleep charging that stops.
  2. Try the marked charging port if your PC has one. Look at the ports for a small battery or lightning mark — many laptops and some desktops designate one always-on charging port. Plug the phone into that port specifically, sleep the PC, and check the charge light after a few minutes. If the marked port charges in sleep, your PC was designed to do it there and nowhere else, and you are done.
  3. Test with the PC plugged in. Sleep the laptop while it is connected to its charger, not on battery. Many laptops only offer USB sleep power while they themselves are on wall power, which is a sensible rule that looks exactly like a fault if you only ever tested unplugged.
  4. Wake once and re-sleep to clear a stuck state. Wake the PC, unplug and replug the device so it registers cleanly, then sleep the PC again and check the charge light. A device that was in a bad state when the PC slept can stay unpowered for that whole sleep even with correct settings.

The advanced route

  1. Stop Windows turning off the USB hubs to save power. Right-click Start and choose Device Manager. Expand Universal Serial Bus controllers, and for each USB Root Hub entry, open Properties > Power Management and clear Allow the computer to turn off this device to save power. Microsoft's driver and device guidance in Update drivers through Device Manager in Windows covers working in Device Manager generally. Restart the PC after changing the hubs, then repeat the sleep test.
  2. Look for the maker's always-on USB setting. Laptop and motherboard makers often put sleep charging in their own settings app or in the startup setup screens, under names like Always On USB, USB charging in sleep, or power delivery in soft-off state. If your PC has a maker app installed, search it for USB or charging before digging into startup setup. Enable the setting there if you find it — a firmware-level off overrides anything Windows is set to allow.
  3. Update the chipset and USB drivers if ports behave inconsistently. If some ports sleep-charge and others drop devices even while awake, get the current chipset drivers from the PC or motherboard maker's support page for your exact model, install them, and restart. Mixed behavior across ports on the same PC is a driver-level pattern more often than a settings one.
  4. Charge from the wall if the PC cannot do it. If the marked-port test, the plugged-in test, and both settings changes all leave sleep charging dead, the PC's hardware cuts USB power in sleep and no setting restores it. The honest fix is a small wall charger or a powered hub that stays on — cheaper and more reliable than fighting a hardware limit, and it charges faster than a PC port would anyway.

End state

When it goes wrong

Related fixes

Sources