NightClock that starts when device is plugged in and stop when device is unplugged.