When you press the power button on your computer or laptop, Windows 11 initiates an action.
This can be various actions such as doing nothing, turning off the display, turning off the computer or laptop, or putting the computer or laptop to sleep.
Therefore, it is possible in Windows 11 to change the action of the power button. This gives you control over what should happen when you press the power button on your computer.
To change the action, you must be logged on as an administrator. You can then change the action of the power button through the Control Panel. Here’s how it works.
How to change the action of the power button on your computer in Windows 11
To begin, open the Control Panel. Then click on “Hardware and Sounds” in Control Panel. Ensure the “Display by” setting in the upper right corner is set to “Category”.
In the “Power Options” settings, click “Change what the power buttons do.”
You can adjust two settings here: “When I press the power button” and “When I press the sleep button”. Both of these you can change for the “On battery” and “Plugged in” profiles.
You can then change the actions to “Do nothing”, “Sleep”, “Shut down”, or “Turn off the display”.
Alternatively, you can change these options in the active power management scheme.
Click “Power Options” in the Control Panel. Click on the active power plan and the “Change plan settings” link.
Then click the “Change advanced power settings” link again.
You can then adjust the power buttons and lid settings in the power scheme as desired. You can adjust the setting when the laptop/computer is connected to the battery or AC power.
I hope to have helped you with this. Thanks for reading!