Excel is my database, Python is my brain.
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: ...