Check the connections for the battery.
Also, check that the sketch does not set the time at power on.
// Per.