|
Rockbox mail archiveSubject: Re: Strange Infos Rockbox screenRe: Strange Infos Rockbox screen
From: Björn Stenberg <bjorn_at_haxx.se>
Date: Fri, 21 Nov 2003 14:21:07 +0100 mourad jaber wrote: > I think it's new issue.. Just after boot, battery percentage and > autonomy are negative ( -1% 0h -6m )... Weird. The code is written so as not to display the value when it is -1. Where do you see this? Did you build yourself or do you run a daily build? apps/wps-display.c:480 case 't': /* estimated battery time */ { int t = battery_time(); if (t >= 0) snprintf(buf, buf_size, "%dh %dm", t / 60, t % 60); else strncpy(buf, "?h ?m", buf_size); return buf; } apps/status.c:180 if (battery_state && (info.battlevel > -1)) statusbar_icon_battery(info.battlevel, plug_state); -- BjörnReceived on 2003-11-21 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |