The DS3231 contains a status bit to indicate if timekeeping was interrupted from something like low or loss of power.