summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-10-08 21:44:24 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-10-08 21:44:24 +0000
commitaf2d88081a3981cb433ac373590fb055493962a5 (patch)
tree2d107b1c2dbc609ad2fd50673e9f33967d44173b /firmware/export
parent8eedc94018ad380304b7fa3de8aecc504bda543c (diff)
downloadrockbox-af2d88081a3981cb433ac373590fb055493962a5.tar.gz
rockbox-af2d88081a3981cb433ac373590fb055493962a5.zip
battery levels adjusted for Ondio
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5230 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/powermgmt.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/firmware/export/powermgmt.h b/firmware/export/powermgmt.h
index 1a54006a7d..6ea4820b40 100644
--- a/firmware/export/powermgmt.h
+++ b/firmware/export/powermgmt.h
@@ -24,7 +24,11 @@
24#define BATTERY_LEVEL_EMPTY 265 /* 2.65V */ 24#define BATTERY_LEVEL_EMPTY 265 /* 2.65V */
25#define BATTERY_LEVEL_DANGEROUS 280 /* 2.80V */ 25#define BATTERY_LEVEL_DANGEROUS 280 /* 2.80V */
26#define BATTERY_LEVEL_FULL 400 /* 4.00V */ 26#define BATTERY_LEVEL_FULL 400 /* 4.00V */
27 27#elif CONFIG_BATTERY == BATT_3AAA_ALKALINE /* Ondio, Alkalines */
28#define BATTERY_LEVEL_SHUTDOWN 250 /* 2.50V */
29#define BATTERY_LEVEL_EMPTY 260 /* 2.60V */
30#define BATTERY_LEVEL_DANGEROUS 270 /* 2.80V */
31#define BATTERY_LEVEL_FULL 450 /* 4.50V */
28#else /* Recorder, NiMH */ 32#else /* Recorder, NiMH */
29#define BATTERY_LEVEL_SHUTDOWN 450 /* 4.50V */ 33#define BATTERY_LEVEL_SHUTDOWN 450 /* 4.50V */
30#define BATTERY_LEVEL_EMPTY 465 /* 4.65V */ 34#define BATTERY_LEVEL_EMPTY 465 /* 4.65V */