Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: Re: Suggestion: Store time in memory?

Re: Suggestion: Store time in memory?

From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Sun, 08 Dec 2002 22:57:33 +0100

Martin Borus wrote:
> Hi,
>
> 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.

/Linus
Received on 2002-12-08

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy