Windows do this thing to reduce the battery consumption when you are away from your PC/Laptop.
Depending on your mouses sensitivity, even a slight movement can cause Windows to wake up from sleep.
Similarly, if you have a problematic keyboard, any accidental keypress will wake your PC from sleep mode.

Once you know the devices, you could easily prevent them from waking up your Windows 11 PC.
Heres how you could find out the devices.
First, hit the Windows 11 Search and jot down inCommand Prompt.

Next, launch the Command Prompt utility from the list.
On the Command Prompt, enter the command shared below:
powercfg -devicequery wake_armed
3.
Now, the Command Prompt willlist all devices that can wake up your PC.

You just need to note down the unit name.
First, press the Windows 11 search and throw in inDevice Manager.
Next, kick off the machine Manager app from the list.

On the equipment Manager, expand the keyboards.
Next, right-punch the connected keyboard and selectProperties.
On the keyboard properties, switch to the Power Management tab.

Next,uncheckthe optionAllow this unit to wake the computer.
Once done, select theOkbutton.
Now move back to the machine Manager.

This time right-tap on the Mouse and selectProperties.
On the Mouse Properties, switch to the Power Management tab andunchecktheAllow this equipment to wake the computeroption.
Once done, hit theOkbutton.

This will prevent the mouse and keyboard from waking up your PC.
How to Hide Apps in Realme Phones
Google Chrome Not Saving Password?
8 Ways to Fix it
How To Fix Mobile Hotspot Connected but No Internet on Android



