Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Car mode questions
From: Björn Stenberg (bjorn_at_haxx.se)
Date: 2003-12-17


Jorge E Ortiz S wrote:
> 1) Can anyone provide an estimate of how long it will take for the
> rechargable batteries to discharge while the player is on "pause" mode?

Around 8-10 hours.

> How much effort would it take for us to create
> custom RockBox version without the "charging screen".

About 10 seconds. :-) Here is the patch you need:

Index: apps/main.c
===================================================================
RCS file: /cvsroot/rockbox/apps/main.c,v
retrieving revision 1.80
diff -u -r1.80 main.c
--- apps/main.c 3 Dec 2003 01:03:21 -0000 1.80
+++ apps/main.c 16 Dec 2003 23:30:31 -0000
@@ -138,14 +138,6 @@
 
     powermgmt_init();
 
- if (coldstart && charger_inserted())
- {
- rc = charging_screen(); /* display a "charging" screen */
- if (rc == 1 || rc == 2) /* charger removed or "Off/Stop" pressed */
- power_off();
- /* "On" pressed or USB connected: proceed */
- }
-
     rc = ata_init();
     if(rc)
     {

-- 
Björn



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa