Question

Why doesn’t the device work when it is on batteries only?

Answer

The batteries are for back-up purpose. In case there is a power supply interruption the clock can still work. The device does not work when it is on batteries only. 

Make sure the device is connected to the mains.