summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2012-01-02 14:11:24 +0000
committerThomas Martitz <kugel@rockbox.org>2012-01-02 14:11:24 +0000
commit81aac5ac1a0c86d84d1ccec52c4b9859adea5107 (patch)
tree39b07d7462c1d8d0015ca6562aa56109319b69b3
parent263b080b3b3742bca34ea4fe826d8ffc427df831 (diff)
ypr0: Proper current values measured with battery_bench.
The battery benches were done by Lorenzo Miori, thus credits to him for this and r31472. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31521 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/config/samsungypr0.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/firmware/export/config/samsungypr0.h b/firmware/export/config/samsungypr0.h
index 8d133c4e24..ba56c096a6 100644
--- a/firmware/export/config/samsungypr0.h
+++ b/firmware/export/config/samsungypr0.h
@@ -125,19 +125,16 @@
/*TODO: In R0 there is an interrupt for this (figure out ioctls)*/
/* #define HAVE_HEADPHONE_DETECTION */
-/* Define current usage levels. */
-/* TODO: to be filled with correct values after implementing power management */
-//#define CURRENT_NORMAL 88 /* 18 hours from a 1600 mAh battery */
-//#define CURRENT_BACKLIGHT 30 /* TBD */
-//#define CURRENT_RECORD 0 /* no recording yet */
-
-/* TODO: We need to do battery handling */
#define BATTERY_CAPACITY_DEFAULT 600 /* default battery capacity */
#define BATTERY_CAPACITY_MIN 600 /* min. capacity selectable */
#define BATTERY_CAPACITY_MAX 600 /* max. capacity selectable */
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
#define BATTERY_TYPES_COUNT 1 /* only one type */
+/* Define current usage levels. */
+#define CURRENT_NORMAL 24 /* ~25h, on 600mAh that's about 24mA */
+#define CURRENT_BACKLIGHT 62 /* ~6,5h -> 92mA. Minus 24mA normal that gives us 68mA */
+
/* TODO: We possibly can only watch linux charging */
//#define CONFIG_CHARGING CHARGING_TARGET
//#define HAVE_RESET_BATTERY_FILTER