Power on and off

Check here for possible solution.