Device iterates on and off infinitely