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: Starting RockBox from the hard drive with connected power supply...

Re: Starting RockBox from the hard drive with connected power supply...

From: Andreas Stemmer <groovingandi_at_gmx.de>
Date: Thu, 23 Oct 2003 16:16:12 +0200 (MEST)

[IDC]Dragon wrote:
> We had that discussion, I still don't think it's practical. The software
> doesn't know that the battery is too weak to power up the disk before it
has
> tried. In case it truly is too low, the operation has probably just
committed
> suicide by causing its own power fail.

I understand... waiting for the first measurement would take much too long.

If charging is turned on by default at startup - like Björn suggested - is
it then possible to spin up the disk even if the batteries are completely
empty. I guess not...

Just a quick idea:
I think a few days ago somebody suggested to save the last battery
measurement value in RTC memory to improve the first battery indicator estimation.
Would this value be enough to decide wheter disk spin up would be possible?
For the rare case that battery condition changes drastically while the
jukebox is off (long time without use or changing of batteries) this would lead to
a wrong decision, but it would perhaps be possible to store a "I try to spin
up the disk now"-flag in RTC memory which would be reset if the spin up was
succesful. If there's not enough power, the jukebox will shut down and the
next time the jukebox is powered up, it would be possible to notice that there
was a spin up that failed.

Andreas Stemmer
Received on 2003-10-23

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