summaryrefslogtreecommitdiff
path: root/firmware/powermgmt.h
diff options
context:
space:
mode:
authorUwe Freese <thebreaker@rockbox.org>2002-12-16 22:58:48 +0000
committerUwe Freese <thebreaker@rockbox.org>2002-12-16 22:58:48 +0000
commit0bf70e65e8b61fceb4b2833277b36ba3ad14fdbf (patch)
tree20e05355105f0bbbddef5a20a4cbbc7d01013364 /firmware/powermgmt.h
parentae1ba1d5de779ff66d5a86bfb6c5326f3e902ac3 (diff)
downloadrockbox-0bf70e65e8b61fceb4b2833277b36ba3ad14fdbf.tar.gz
rockbox-0bf70e65e8b61fceb4b2833277b36ba3ad14fdbf.zip
battery capacity (1500-2400 in 50mAh steps) saved to disk
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3008 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/powermgmt.h')
-rw-r--r--firmware/powermgmt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/powermgmt.h b/firmware/powermgmt.h
index b7f8b01978..ea6319c02e 100644
--- a/firmware/powermgmt.h
+++ b/firmware/powermgmt.h
@@ -27,6 +27,7 @@
27#define BATTERY_LEVEL_FULL 585 /* 5.85V */ 27#define BATTERY_LEVEL_FULL 585 /* 5.85V */
28 28
29#define BATTERY_RANGE (BATTERY_LEVEL_FULL - BATTERY_LEVEL_EMPTY) 29#define BATTERY_RANGE (BATTERY_LEVEL_FULL - BATTERY_LEVEL_EMPTY)
30#define BATTERY_CAPACITY_MAX 2400 /* max. capacity that can be selected in settings menu, min. is always 1500 */
30 31
31#define POWER_HISTORY_LEN 2*60 /* 2 hours of samples, one per minute */ 32#define POWER_HISTORY_LEN 2*60 /* 2 hours of samples, one per minute */
32#define POWER_AVG_N 4 /* how many samples to take for each measurement */ 33#define POWER_AVG_N 4 /* how many samples to take for each measurement */