View Single Post
Old 10-02-2016, 05:15 AM   #268
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by Alan_S View Post
Why we wouldn't synchronize hardware clock immediately?

When I set time, it is correct time. It should be reflected with hardware clock also. I had problems with clock being late 3 minutes, I first noticed this after crash. This can also happen to other people, having crash, need to forcefully reset device or something similar.

In such case clock wouldn't be synchronized and therefore not correct.

From my point of view, I want clock as soon as possible to run correctly.
Usually it is said that hardware clocks in general (not specifically that of Kobo devices) are not as accurate as the software clock is, and that the inaccuracy of the hardware clock is constant. So the idea is that you once set the software clock and relay on it as long as the device is on. If you power off you synchronize the hardware clock, so that the hardware clock has the most accurate time available at the system, and you save that point of time to a file. When powering on you look how much time according to the hardware clock has past since powering off. Since you know the ratio of inaccuracy you can calculate the correct time and write it to the software clock. I do not know how such things are actually implemented. Anyway, that is why I mentioned that usually the hardware clock is synchronised at power off. At least this is my understanding. My point was that we could save 10 seconds, when setting the time, if we postpone the synchronization of the hardware clock to some later point. Practically, the 10 seconds would not be a problem for me. The last time I set the clock on one of my Kobos (apart from yesterday or day before) was possibly in 2014, when I bought my last one (or maybe the clock was already set correctly, when I bought the device. I not sure).
tshering is offline   Reply With Quote