FS#8871 - battery runningtime eta range checking
Opened by Tomasz Wasilczyk (tomkiewicz) - Friday, 11 April 2008, 11:23 GMT
Last edited by Nils Wallménius (nls) - Saturday, 12 April 2008, 07:14 GMT
When battery voltage drops under battery_level_shutoff (about 1-10mV - it depends from round off), device estimated runtime loops over unsigned int range and displays 35 millions hours left instead of zero. It can be noticed when using battery benchmark or System->Rockbox info->Battery.
I've added voltage range checking, so that bug is now fixed. I've tested it (i.e. by modifying values in /firmware/target/.../powermgmt-c200.c) and works OK.
example battery benchmark files, that shows issue (look at the end of the file):
Saturday, 12 April 2008, 07:14 GMT
Reason for closing: Accepted
Additional comments about closing: Thanks!