summaryrefslogtreecommitdiffstats
path: root/firmware/export/config/aigoerosq.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-14 08:37:00 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-14 08:37:00 -0400
commit1b449abf39feeace10b6db604a4537718769141e (patch)
treec8d65c26e423128d1e8159fd1e411d8907f6196f /firmware/export/config/aigoerosq.h
parent19d45c9257d1d8d1f59746455cddaeef910b1577 (diff)
downloadrockbox-1b449abf39feeace10b6db604a4537718769141e.tar.gz
rockbox-1b449abf39feeace10b6db604a4537718769141e.tar.bz2
rockbox-1b449abf39feeace10b6db604a4537718769141e.zip
erosq: Add battery discharge curve and initial runtime estimation.
(playing mp3 with headphones inserted lasted just over 13 hours) Change-Id: Id610f911811eafd914db20000ae860c75e0d8a93
Diffstat (limited to 'firmware/export/config/aigoerosq.h')
-rw-r--r--firmware/export/config/aigoerosq.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/firmware/export/config/aigoerosq.h b/firmware/export/config/aigoerosq.h
index 6129557726..5a520707d9 100644
--- a/firmware/export/config/aigoerosq.h
+++ b/firmware/export/config/aigoerosq.h
@@ -122,11 +122,15 @@
#define HW_SAMPR_CAPS SAMPR_CAP_ALL_192
/* Battery */
-#define BATTERY_CAPACITY_DEFAULT 2000 /* default battery capacity */
-#define BATTERY_CAPACITY_MIN 2000 /* min. capacity selectable */
-#define BATTERY_CAPACITY_MAX 2000 /* max. capacity selectable */
+#define BATTERY_CAPACITY_DEFAULT 1300 /* default battery capacity */
+#define BATTERY_CAPACITY_MIN 1300 /* min. capacity selectable */
+#define BATTERY_CAPACITY_MAX 1500 /* max. capacity selectable */
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
+#define CURRENT_NORMAL 100 // 1.7mA * 60s
+#define CURRENT_BACKLIGHT 180
+#define CURRENT_MAX_CHG 500 // bursts higher if needed
+
/* ROLO */
#define BOOTFILE_EXT "erosq"
#define BOOTFILE "rockbox." BOOTFILE_EXT