Set power button behaviors

You can define what the power button does according to your preference. For example, by pressing the power button, you can turn off the computer or put the computer to sleep or hibernation mode.

To change what the power button does:
  1. Right-click the battery status icon in the Windows notification area.

  2. Click Power Options > Choose what the power buttons do.

  3. Change the settings as you prefer.