Turn off device when plugged in after 9pm and before 7am