My PC is connected to an offline UPS. I can't put my PC into sleep mode when the UPS is providing battery power. The display goes out and then comes back to the lockscreen. It also wakes up from sleep when mains power goes out and the UPS switches to battery. Running powercfg /device_query wake_armed reveals that only keyboard and mouse are allowed to wake up the PC. I went to Device Manager> Keyboard>Power Management and unticked "allow this device to wake up the computer". Strangely, this solved the issue - PC doesn't wake up during power outage and I can put it to sleep even when the UPS is on battery power. But now I can't use my keyboard to wake up my PC. Is there a better solution? What's going on here?
Notes:
Notes:
- The UPS is a very basic one - just provides power, makes noise and probably has horrible modified sine wave output.
- There's no USB connection between my PC and the UPS.
- Disabling mouse wake up didn't solve the issue, but disabling keyboard wake up did.