my DS1307 is not keeping time when powered off , it though saves the current time when powered which is wiered .
It simply continues from the point it left off .
I checked the pin 3 is getting 3.2V from a lithium battery as the datasheet is requiring .
and i am not setting any time in my code also if i had done that i would get same time all the time after power up but as i said it continues from the time I power it off.
read your blog , i am following all the guidelines there except its not on pcb its on breadboard but I know that can't be my issue as many many people are using RTC circuit on breadboard.
what about the CH bit ? it seems to best fit my problem.
its working now .. the issue was stray capacitence because of breadboard, the issue was fixed by soldering the crystal directly to the chip and putting a 0.01uf capacitor across VBAT - GND.