Ask / Submit
0

Aquafish time on reboot.

asked 2017-09-12 20:15:50 +0300

DarkTuring gravatar image

With full battery and plugged in, auto update time/date disabled, upon restart (or battery replacement) my Aquafish phone cannot maintain time, changed by three hours. Sometimes it changes by different time increments, even though the reboot happens under 5min time frame.

Has anybody experienced the Aquafush or Jolla phone loosing or changing time, when time zone, date is set to manual and during reboots, or battery replacement?

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
3

answered 2017-09-14 08:31:55 +0300

spiiroin gravatar image

What happens on bootup is roughly as follows:

system_time = max(sw_release_time, last_shutdown_time, rtc_time)

If battery is removed for long enough (few minutes or so), the real time clock gets reset -> in these cases it is fully expected that system time gets rewound back to the last shutdown time.

But mere reboot should not cause any significant clock jumps.

Also, having jumps that are full hours off should be unlikely - if they do occur, it would suggest some problems with timezones rather than system time itself.

edit flag offensive delete publish link more

Comments

@spiiroin thank you for the thorough explanation. i keep an eye on it, it doesnt appear to happen all the time and i havent tried hard enough to replicate. Once i have a new phone ill use the Aquafish for more testing of that sort.

DarkTuring ( 2017-09-15 07:14:32 +0300 )edit

So i have been able to replicate tye issue repeatedly so either SFOs 2.1.0.11 of the Aquafish phone have some issue.

It was 3pm in the afternoon. Time zone and auto time turned off at 3pm Sept 17th. I take out the battery and SDcard and about three minutes later put the (fully charged) battery back into the phone.

The result auto time and date is still off. Time now is 23:00 or 11:00pm on the 16th September with time zone being exactly where it was before. The phone didnt loose just an hour, it lost 16hours which would make a time zone glitch hard to explain.

To me its more like an OS/hardware integration problem.

DarkTuring ( 2017-09-18 01:16:47 +0300 )edit

@DarkTuring Can you clarify if you did shutdown the device before removing the battery? Or just remove the battery without shutting down?

spiiroin ( 2017-09-18 08:41:51 +0300 )edit

The device i removed the battery without shutting it down.

DarkTuring ( 2017-09-18 20:26:54 +0300 )edit

@DarkTuring: All manner of nastiness can happen if the power is just cut without shutting down first, but from system time point of view: "remove battery without shutting down" -> the last time you actually did a proper shutdown counts as "last_shutdown_time" -> if the rtc time gets reset too, time is fully expected to get rewound to somewhere in the (potentially distant) past.

Well, actually when automatic time update is disabled and battery is removed for long enough for rtc to lose time of day, the system time is bound to be off a little or a lot depending on circumstances -> manual correction is required anyway.

spiiroin ( 2017-09-19 04:38:28 +0300 )edit
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2017-09-12 20:15:50 +0300

Seen: 108 times

Last updated: Sep 14