Since I've been using Windows XP for a long time, I'm used to shutting down my laptop by pressing the power button. In Windows Vista, the power button is not turned off, replacing it is going to sleep. I don't know what you think, but for me, I never had the privilege of experiencing this "sleep" or "hibernating" state in XP, which happened too suddenly, and I was always used to rebooting, and it really took me some time to get used to Vista. So how can you get back to the "close" operation you've been used to? Here's a detailed procedure that tells you how to get the Vista power button to still function as a shutdown rather than sleep.
How to set the Vista power button to turn off instead of the default sleep
1. Open the Start menu and click Control Panel
2, click "System Maintenance" (Systems maintenance)
3. Click "Power Options"
4, choose your preferred power management scheme and click "Change scheme Settings" (Changing plan setting)