How to turn off the sleep and power rules