summaryrefslogtreecommitdiffstats
path: root/firmware/export
diff options
context:
space:
mode:
authorSebastian Leonhardt <sebastian.leonhardt@web.de>2016-05-02 23:46:37 +0200
committerSolomon Peachy <pizza@shaftnet.org>2019-02-07 23:07:19 +0100
commite662ae4e9e6feb754a909691847e76544282f319 (patch)
treeb79ca27c7b275c342148f0e206db8639b8ca1ef1 /firmware/export
parent1c095a1323b042d703729e4d6b11a29e143df395 (diff)
downloadrockbox-e662ae4e9e6feb754a909691847e76544282f319.tar.gz
rockbox-e662ae4e9e6feb754a909691847e76544282f319.tar.bz2
rockbox-e662ae4e9e6feb754a909691847e76544282f319.zip
Add YH820 current usage for runtime estimation
Change-Id: If50d7e6db3077853dfba438d9765cdb3513f2910
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config/samsungyh820.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/export/config/samsungyh820.h b/firmware/export/config/samsungyh820.h
index d937a3ff6c..51c829c70b 100644
--- a/firmware/export/config/samsungyh820.h
+++ b/firmware/export/config/samsungyh820.h
@@ -143,6 +143,13 @@
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
+/* define current usage levels */
+#define CURRENT_NORMAL 90 /* All values are estimations from my battery */
+#define CURRENT_BACKLIGHT 50 /* benches and may need some tuning */
+#if defined(HAVE_RECORDING)
+#define CURRENT_RECORD 5
+#endif
+
/* Hardware controlled charging */
#define CONFIG_CHARGING CHARGING_SIMPLE