summaryrefslogtreecommitdiff
path: root/firmware/export/config-recorder.h
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2009-06-29 18:32:43 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2009-06-29 18:32:43 +0000
commit8839f18cc8234857e1ec3e77cdfa1f8daec311d9 (patch)
treefcbe185c64b96fe6c9c476a0eb750a8d1492c793 /firmware/export/config-recorder.h
parented75cc09f1243cff5eec0ea99f3c0805b8834c36 (diff)
downloadrockbox-8839f18cc8234857e1ec3e77cdfa1f8daec311d9.tar.gz
rockbox-8839f18cc8234857e1ec3e77cdfa1f8daec311d9.zip
Move Archos battery runtime estimation defines into config files instead of powermgmt.h. Replace old default values (which were actually the Archos Player currents) with a new default (1mA). This should give nonsense runtime estimates (instead of semi-reasonable but completely wrong estimates) on all players that do not have a battery current defined. Hopefully this will remind people that they should define the battery current when they start a new port.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21565 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-recorder.h')
-rw-r--r--firmware/export/config-recorder.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/config-recorder.h b/firmware/export/config-recorder.h
index 44006b4196..37c2222985 100644
--- a/firmware/export/config-recorder.h
+++ b/firmware/export/config-recorder.h
@@ -77,6 +77,10 @@
77#define BATTERY_CAPACITY_INC 50 /* capacity increment */ 77#define BATTERY_CAPACITY_INC 50 /* capacity increment */
78#define BATTERY_TYPES_COUNT 1 /* only one type */ 78#define BATTERY_TYPES_COUNT 1 /* only one type */
79 79
80#define CURRENT_NORMAL 145 /* usual current in mA */
81#define CURRENT_RECORD 35 /* additional recording current */
82#define CURRENT_USB 500 /* usual current in mA in USB mode */
83
80/* define this if the unit should not shut down on low battery. */ 84/* define this if the unit should not shut down on low battery. */
81#define NO_LOW_BATTERY_SHUTDOWN 85#define NO_LOW_BATTERY_SHUTDOWN
82 86