Rockbox mail archive
Subject: Re: Suggestion: Store time in memory?
From: Linus Nielsen Feltzing (linus_at_haxx.se)
Martin Borus wrote:
> here's a suggestion:
> I often replace the Archos batteries to charge them externally.
> I switch two sets.
> Every time I do this I lose the clock settings. Would it be
> possible to store the time in memory when you shut off the unit
In what memory??? The only persistent memory we have is the RAM in the
real time clock. The loss of power to he real time clock is what causes
the loss of the time setting.
> and restore this value when there is nonsense in actual time? You
> could define nosense as a time earlier then this stored time and a
> fixed period (a year?) after the last shut off.
OK, we could store the time on disk, but it could then be *very* off.
Page was last modified "Jan 10 2012" The Rockbox Crew