You need to go into control panel and look at your power options and on the left hand side click on ''Choose what the power buttons do'. Then it will give you one column for battery and one for when you're plugged in. Right now it's probably set to where clicking the power button hibernates your laptop. Change it to whatever it is you desire and press save changes.