When Windows USB Power Settings Put Input to Sleep

18 October 20266 min read

A remote USB keyboard or mouse can stop responding because the target computer has put part of its USB connection into a low-power state through usb power management. Before rebuilding an ESP32-S3 setup or blaming the browser control page, check the computer that receives the USB input.

With InputInfinity, the ESP32-S3 connects to the target computer as a USB input device. We control it from a browser, but the target computer still decides how it handles that USB connection. If it sleeps and does not wake correctly, keystrokes and pointer movement may not arrive.

A recent XDA Developers report calls out Windows USB selective suspend and related power settings. Windows power management can help battery life, yet it can be a poor fit for a desktop that needs USB peripherals ready at all times.

This does not prove every lost-input problem is a sleep setting. Rule it out when the device works after reconnecting it, restarting the computer, or waking it after idle time.

Know what has actually stopped working

Start by separating browser control from USB input.

With InputInfinity, the browser sends commands to the ESP32-S3, which presents keyboard and mouse input through its USB connection to the target computer. A failure in either part can feel identical: you press a key, and nothing happens.

Check the browser side first. Can you still reach the control page? Does the ESP32-S3 still appear connected where you normally control it? If the browser cannot reach it, investigate the ESP32-S3 connection before changing Windows settings.

If browser control is normal but the target computer receives no keyboard or mouse input, focus on USB. Disconnect and reconnect the ESP32-S3 USB connection. If input returns immediately, that does not prove selective suspend caused the issue, but USB power state, the port, cable, and hub are worth investigating.

Timing is another clue. A problem that appears after the computer sits unused is more consistent with power management than one that occurs while you are actively typing. A problem that begins at startup and persists until reconnecting may point to startup or driver state.

Write down what you see before changing anything. Note whether the target computer was locked, asleep, freshly started, or idle, and whether the ESP32-S3 was connected directly or through a hub. Those details prevent circular troubleshooting.

Check USB selective suspend first

The setting discussed by XDA Developers is USB selective suspend. Windows can place idle USB devices into a lower-power state. On a machine where an always-available USB keyboard and mouse matter more than small power savings, disabling it is a reasonable diagnostic step.

On the Windows computer receiving the ESP32-S3 USB connection, open Control Panel power settings and find the active power plan. Open its advanced power settings. Under USB settings, find USB selective suspend setting and set it to Disabled. Apply the change, then test again.

Labels and choices can differ between systems and power plans. Change the active plan, not one you are not using.

Test under the condition that caused the problem. If input stopped after 20 minutes of inactivity, leave the setup idle for a comparable period, then send a keystroke or move the remote mouse. Testing immediately after the change tells you little because the device has not had time to enter an idle state.

For a laptop, keeping USB devices awake can use more power. Do not disable power-saving settings across the board because a remote input device exists. Test the USB path causing trouble and decide based on how the machine is used.

For a plugged-in desktop used for remote access, the trade-off often differs. An unavailable keyboard or mouse can cost more than the modest power reduction Windows is trying to achieve.

Check the hub and device power options

Selective suspend is only one layer. The XDA Developers report also points to Device Manager power-management checkboxes, including one that allows the computer to turn off a device to save power.

Open Device Manager on the target computer and inspect entries associated with the USB route in use. A direct connection may expose a USB hub entry and a keyboard or mouse-related entry. An external hub adds another point where several devices can be affected together.

If an entry has a Power Management tab and the checkbox Allow the computer to turn off this device to save power, clear it for the relevant USB hub or input-related entry. Then retest.

Do this deliberately. Device Manager can show several similar entries, and it is easy to change the wrong one. If you are unsure which entry belongs to the ESP32-S3, note visible entries, disconnect the device, refresh the view, and see what changes. Reconnect it and confirm the entry returns.

Change one setting at a time when possible. If you disable selective suspend, alter three Device Manager entries, replace a cable, and reboot at once, you may restore input but learn nothing about the original failure.

A hub deserves special attention. When the ESP32-S3 shares a hub with other peripherals, a hub-level sleep or reset can affect more than one device. If a keyboard, mouse, and other USB hardware become unavailable together, test the ESP32-S3 on a direct USB port. This is a diagnostic move, not proof that hubs are always the problem.

Do not ignore startup behavior

If remote input is unavailable only after a shutdown and startup, but works after a normal restart, Fast Startup is worth checking. The XDA Developers report notes that Fast Startup retains kernel and driver state to reduce boot time and can contribute to driver-loading problems.

The reported path is through Windows Control Panel power options. Disable Fast Startup, fully shut down the target computer, start it again, and test the USB input device. A restart alone may not test the same condition as a shutdown followed by power-on.

Treat this as an experiment. Do not assume Fast Startup is the cause because it is enabled. If disabling it changes nothing, rule out that variable and move on.

Rule out the ordinary USB failures too

Sleep settings get attention because they are hidden and the symptoms are frustrating. Cables, ports, and power delivery still fail more often than people expect.

Use a short test sequence:

  • Connect the ESP32-S3 directly to the target computer, bypassing any hub.
  • Try a known-good USB cable if the board uses a detachable cable.
  • Try a different USB port on the target computer.
  • Check whether another USB device works in the same port.
  • Reboot the target computer only after recording whether reconnecting the ESP32-S3 alone restored input.

These checks give each outcome meaning. If the ESP32-S3 works on one port but not another, Windows selective suspend may not be the main issue. If it fails only through one hub, inspect that hub and its connection. If it works only after a complete restart, startup state is more interesting than idle power management.

Avoid treating browser-based control as remote desktop access. InputInfinity sends keyboard and mouse input through the ESP32-S3, while the target computer handles the screen, applications, login state, and USB device recognition. If the target computer is asleep, powered off, or waiting at a state where USB input is unavailable, a browser command cannot bypass that condition.

For the underlying setup and why no target-side app is needed, see our guide to remote USB keyboard control without a target-side app.

The practical order is simple: confirm the browser can reach the ESP32-S3, test the direct USB connection, disable selective suspend for a controlled test, inspect the relevant Device Manager power setting, and test Fast Startup when the failure is tied to booting. That sequence ties a vague “the keyboard stopped working” report to observable behavior.

Discussion

No comments yet. Be the first.

Leave a comment

Comments appear once the author approves them.