How to change power button action using advanced power settings
All Idea Systems
1. Open Control Panel
2. Search for power options
3. Open the advanced power settings for your power plan.
4. Under Power buttons and lid, set the Power button action to what action you like, and click/tap on OK.
NOTE: You will only have two separate columns: On battery and Plugged in options if your PC runs on a battery or is a desktop PC with a UPS connected to it via data cable. The Hibernate option will not be listed unless you enabled hibernate and have turned off the Hybrid sleep option in the advanced power plan settings. If you wanted Hybrid, then turn on hybrid sleep in your advanced power plans settings and you select Sleep for the action below.