Rockbox mail archive
Subject: Re: Starting RockBox from the hard drive with connected power supply...
From: Andreas Stemmer (groovingandi_at_gmx.de)
> 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
> tried. In case it truly is too low, the operation has probably just
> 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.
Page was last modified "Jan 10 2012" The Rockbox Crew