Set isOn after changing power state