If you press the power button on a Windows 10 PC, it will automatically put the PC to sleep.
Here’s how you can change that:
Open the Run by pressing Windows + R. Type powercfg.cpl. Hit the “Enter” key.
Select the “Choose what the power button do” link on the “Power Options” screen. You can find the link above “Choose what closing the lid does.”
There are two drop-down lists beside “When I press the power button.” You can find the latter above When I press the sleep button.
Open the list under “On battery.” Here are the options:
- Do nothing – Select this option to disable the power button.
- Sleep – Default option. Choosing this option will make the PC sleep when you press the power button.
- Hibernate – Select this option to hibernate the computer when the power button is pressed.
- Turn off the display – Select this option to turn the display off when the power button is pressed.
Choose the one you prefer.
In the “Plugged in” drop-down list, select the one you want.
Click on the “Save changes” button.
Note: The settings in the drop-down lists beneath “On battery” are only active when the laptop is on battery power. The settings in the “Plugged in” drop-down lists are only active when the PC is connected to a power source.
- How to Set Default Startup Tab in Task Manager