Windows disconnects idle devices if power-saving options are enabled. This could be the reason why your mouse or keyboard keeps disconnecting. Here is how you can turn off power-saving options: ...
So you’ve connected a device to your PC via a USB port — but Windows doesn’t recognize it. What now? Before you assume the product (or your PC port) is broken, there are several USB troubleshooting ...