If you experience intermittent connection problems with a Bluetooth device, e.g. a Bluetooth mouse, this could be resolved by turning off a feature in the Bluetooth adapter device settings.
Go to the Control Panel then Device Manager; locate the Bluetooth adapter; right click on it and select Properties; go to the Power Management tab and uncheck ‘Allow the computer to turn off the device to save power’; and click OK.