From bf3c96c50267ef26a2155502b4841e0074cd12a8 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Thu, 13 Mar 2008 18:55:07 +0000 Subject: [PATCH] 1st/2nd Gen iPod: Disable low battery shutdown until we have proper suspend. * Fix default battery capacity. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16654 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-ipod1g2g.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/firmware/export/config-ipod1g2g.h b/firmware/export/config-ipod1g2g.h index 8d7dce207f..a1a01a55ee 100644 --- a/firmware/export/config-ipod1g2g.h +++ b/firmware/export/config-ipod1g2g.h @@ -77,7 +77,7 @@ /* Define this if you can detect headphones */ #define HAVE_HEADPHONE_DETECTION -#define BATTERY_CAPACITY_DEFAULT 630 /* default battery capacity */ +#define BATTERY_CAPACITY_DEFAULT 1200 /* default battery capacity */ #define BATTERY_CAPACITY_MIN 1200 /* min. capacity selectable */ #define BATTERY_CAPACITY_MAX 1900 /* max. capacity selectable */ #define BATTERY_CAPACITY_INC 50 /* capacity increment */ @@ -86,6 +86,9 @@ /* Hardware controlled charging? FIXME */ //#define CONFIG_CHARGING CHARGING_SIMPLE +/* FIXME: Don't shutdown on low battery until we have proper suspend. */ +#define NO_LOW_BATTERY_SHUTDOWN + #ifndef SIMULATOR /* Define this if you have a PortalPlayer PP5002 */