Reset power setting when closing the computer