Follow these directions to choose what happens when you press the power button or close you 1. Right-click the battery icon in the quick tools and open Power Options  2. Next, Click one of the ' Choose what "X" does ' buttons.  3. Change the settings as you see fit.