If you opened the HID-compliant mouse, clicked on the Power Management and removed the check from the Allow the computer to turn off this device to save power box and this still happens you can do a couple of things.
1. Right click on the device tree in the Device Management and select Scan for Hardware changes . This can restart the power for the USB port. This may not be a permanent solution.
2. The other option is to disable the Selective Suspend.
Click on the Start orb
, when the Start Menu opens click on Computer
When the Contorl Panel opens click on Power Options.
In the Power Options there are two Plan options, Balanced and Power saver. Both of these have the option Change plan options. Click on this option for the plan being used.
Click on Change advanced power settings
In the Advanced settings click on the (+) next to the USB settings.
Click on the (+) next to Selective suspend settings.
Click on Enabled, then click on the down arrow to open the options.
Click on Disabled
Click on Apply, then OK
Close the Control Panel and restart your computer.