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



Rockbox mail archive

Subject: Re: Car mode questions

Re: Car mode questions

From: Björn Stenberg <bjorn_at_haxx.se>
Date: Wed, 17 Dec 2003 00:33:57 +0100

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
_at__at_ -138,14 +138,6 _at__at_
 
     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
Received on 2003-12-17

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy