Rockbox

Tasklist

FS#4786 - Rockbox doesn't shut down gracefully on low battery.

Attached to Project: Rockbox
Opened by gl (gl.tter) - Monday, 06 March 2006, 01:17 GMT
Last edited by Steve Bavin (pondlife) - Monday, 02 October 2006, 07:34 GMT
Task Type Bugs
Category Battery/Charging
Status Closed
Assigned To No-one
Operating System Iriver H100 series
Severity High
Priority Normal
Reported Version
Due in Version Version 3.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I just exhausted my H140 battery all the way on continuous playback. I was expecting Rockbox to shut down the player when battery power became critical, instead it kept trying to spin up the HD and failing. Worse, I was no longer able to shut the device down, including with the 'hold Stop buttom for several seconds' trick - a reset was required!

This should be addressed asap.
Closed by  Barry Wardell (barrywardell)
Saturday, 11 November 2006, 01:41 GMT
Reason for closing:  Accepted
Additional comments about closing:  Patch #3001 has been committed to CVS and also fixes this bug.
Comment by Dominik Riebeling (bluebrother) - Monday, 06 March 2006, 09:11 GMT
Do you have a recent build? This was an issue some time ago but has been changed, so the player stops saving the current state after a number of unsuccessful tries (IIRC it was 10). I had my player running completely down some weeks ago and it shut down after some retries (as said, without saving the current state)
Comment by gl (gl.tter) - Monday, 06 March 2006, 09:26 GMT
Hi, yeah it's only a few days old. I didn't wait for it to try 10 times though, it kinda freaked me out.

Point is though that waiting that long is too long - what if you're in the middle of recording, you'd loose it all. And it's not very graceful. I'd rather it shut off (say) 10 minutes earlier. I don't have any experience with the battery code, but surely that's possible?
Comment by wehn (wehn) - Monday, 06 March 2006, 10:14 GMT
I'm a little concerned that lithium batteries permanently lose capacity if deeply discharged. Usually software, and/or hardware prevents this happening. I don't know if the charging chip on the iRiver does this. But i have seen my laptop lose around 30 minutes battery life after a couple of low voltage cutouts on an unaware linux kernel.

As an added bogey, lithium cells have internal protection that activates below ~2.5 volts to prevent further use of the battery.
Comment by Peter D'Hoye (petur) - Tuesday, 07 March 2006, 10:14 GMT
When recording, low battery also causes the recorded file to be corrupted because not closed properly
Comment by Jvo Studer (vinylivo) - Tuesday, 07 March 2006, 13:21 GMT
I wrote a patch to overcome these problems, see http://www.rockbox.org/bugs/task/3001
In low battery condition it checks battery voltage also during disk access and switches off the jukebox nicely when dropping below 2.95 volts.
Comment by Rob (biffhero) - Sunday, 26 March 2006, 06:12 GMT
Of course, that URL should be http://www.rockbox.org/tracker/task/3001 with the new bugtracker
Comment by Jonathan Singh (Jon_) - Tuesday, 30 May 2006, 21:04 GMT
I think it's something is wrong with your player or such because when my player gets to 6 precent battery life it shuts it's self down properly. You tryed reinstalling rockbox.???~
Comment by Prashant Singh Pawar (renegade) - Thursday, 10 August 2006, 09:33 GMT
I have posted an even elaborated similar bug
http://www.rockbox.org/tracker/task/5788
Comment by Alan R (alanwarwic) - Friday, 25 August 2006, 08:57 GMT
happened when I cycled my battery on a new H120. (150906 build)

I assume it just went flat as the next morning I was unable to get any sign of life whatsoever without using the AC adapter.


The unit goes to Ireland via the Ryder cup in September for my blind friend. Just checked that it does auto power off when not playing so at least ok there
Comment by Alan R (alanwarwic) - Friday, 25 August 2006, 09:19 GMT
I meant 15th August CVS build (no idea what CVS means)

Comment by Markus Seidl (_maverick_) - Friday, 10 November 2006, 15:49 GMT
I have a similar bug on the iAudio X5.
Rockbox does shutdown, but it does it only when the battery is drained to low (german: tiefentladen?, don't know the proper english word for it. And dict.leo.org doesn't either...) and becomes corrupted over time.

Loading...