Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#3039 - iriver battery safe bootloader

Attached to Project: Rockbox
Opened by Jvo Studer (vinylivo) - Friday, 17 February 2006, 23:42 GMT+1
Last edited by Dominik Riebeling (bluebrother) - Saturday, 04 June 2011, 23:24 GMT+1
Task Type Patches
Category
Status Closed
Assigned To No-one
Player Type
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

This fixes the low battery problem when booting. Up to
now you still could boot even if battery was definately
too empty to succeed this task.

Battery voltage is checked before disk spins up and if
voltage is below 3.05V the unit will be switched off
after showing a 'Battery empty!' message.
The warning threshold was rised to 3.5V, because
typically at this voltage you don't have much playing
time left.

And there is a voltage and a simple battery percent
level display in the 'Bootloader USB mode' so you can
see if you're save using the disk.

I didn't install it yet on my iHP140 because I'm a
littlebit afraid if I did anything wrong. But it
compiled fine and I could create a new firmware file by
using the scramble and mkboot tools. Theoretically this
should work but perhaps it would be better if somebody
with firmware flash access could test this (linus?).
   bootloader_powersafe1.patch (4.2 KiB)
 rockbox-jsl/bootloader/main.c |   76 ++++++++++++++++++++++++------------------
 1 file changed, 44 insertions(+), 32 deletions(-)

This task depends upon

Closed by  Dominik Riebeling (bluebrother)
Saturday, 04 June 2011, 23:24 GMT+1
Reason for closing:  Out of Date
Additional comments about closing:  no activity since years.
Comment by Marc Guay (Marc_Guay) - Sunday, 07 December 2008, 18:36 GMT+1
Is this idea still valid?

Loading...