answered
2016-04-13 21:01:58 +0200
When the device boots up, system time is taken from max(rtc_time, release_time, last_shutdown_time).
When device is shut down, system time is stored to rtc and last_shutdown_time (=file).
If battery is yanked out without doing a orderly shutdown -> shutdown time is not recorded, and rtc remains as set in the previous shutdown + some drifting - which may or may not be close to correct time.
If the battery is kept detached long enough (few minutes), rtc time will be reset -> on bootup system time gets set back to release time stamp / last recorded shutdown time.
If the wrong time does not get corrected soon after bootup is finished, it is different problem domain.
Isn't this the expected behaviour? I remember most phones lost date/time/region settings after a while when the battery was taken out. Sometime I had to go throught he whole setup-process on other phones after pulling the battery.
ossi1967 ( 2016-04-13 17:30:58 +0200 )editI think this question is connected to this one, which is why I think they should better be joined. And right, removing electricity from the timer unit resets time and date like with all computers.
lakutalo ( 2016-04-13 18:01:43 +0200 )edit