Question
how to restore date/time in RTC with the backup battery connected.
I do have time working but it will reset each time when I power it off. I do have the backup battery connected.
I thought that it is supposed to keep working on battery and I guess it does.
But I guess I might be missing a few lines to read registers and update the time once power in back on.