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: ...
Connection checks, restarts, driver updates, and other easy troubleshooting steps that could save you money Check if your keyboard is properly connected and has enough battery power to work.