2011/1/4 Paul Louden <paulthen...@gmail.com>:
> On 1/4/2011 7:38 AM, Marcin Bukat wrote:
>>
>> It's not a bug it's a feature :-)
>> Rockbox refuse to write data to disk if battery voltage drops below
>> dangerous level defined in target specific powermgmt-xxx.c file.
>> This is to prevent filesystem corruption which could occur if hard
>> power down happens in the middle of writing data to the disk.
>>
>
> I'm guessing he meant on manual power off, not on low battery power off -
> the automatic resume point shouldn't be able to be written either in a lower
> power shutdown situation.

The cause of power off doesn't matter. In shutdown routine there is a
check if battery voltage is above dangerous level (not shutdown level)
- if so the settings are written back to the disk if not this part of
shutdown sequence is skipped and the warning is displayed.

Marcin

Reply via email to