In Windows 7, by default Power button is set to Shut down, we can make custom become Restart, Hibernate, Sleep, etc.
• Right click at Start, click properties
• At Tab Start Menu, Go to Power Button Action, and you can choose other buttons,
• Click OK after selected.
Now you can see the results.