Realtime clock status

Die DS1307 hat ein Bit das die Gültigkeit der Werte anzeigt.
zB:

if (! RTC.isrunning()) {
    Serial.println("RTC is NOT running!");
    // following line sets the RTC to the date & time this sketch was compiled
    RTC.adjust(DateTime(__DATE__, __TIME__));
  }

aus der RTClib.h gefunden in Problem displaying time via SPI - Networking, Protocols, and Devices - Arduino Forum Ich weiß aber nicht wo er die Bibliothek her hat.

Du hast aber keine Möglichkeit den Ladezustand der Batterie zu messen.
Die Batterie hält auch ohne Versorgungsspannung am RTC 10 Jahre. Wenn Du auf Nummer sicher gehen willst dann tausche die Batterie alle 2 Jahre aus. Bei 2€ pro Batterie ist das finanziell verkraftbar.

Grüße Uwe