summaryrefslogtreecommitdiff
path: root/firmware/export/powermgmt.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/powermgmt.h')
-rw-r--r--firmware/export/powermgmt.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/export/powermgmt.h b/firmware/export/powermgmt.h
index ccfdede9f9..97daf7ce59 100644
--- a/firmware/export/powermgmt.h
+++ b/firmware/export/powermgmt.h
@@ -35,6 +35,14 @@
35#define BATTERY_CAPACITY_MIN 500 35#define BATTERY_CAPACITY_MIN 500
36#define BATTERY_CAPACITY_MAX 1500 /* max. capacity selectable in settings */ 36#define BATTERY_CAPACITY_MAX 1500 /* max. capacity selectable in settings */
37#define BATTERY_TYPES_COUNT 2 /* Alkalines or NiMH */ 37#define BATTERY_TYPES_COUNT 2 /* Alkalines or NiMH */
38#elif CONFIG_BATTERY == BATT_LIPOL1300 /* iRiver H1x0 */
39#define BATTERY_LEVEL_SHUTDOWN 306 /* 3.06V */
40#define BATTERY_LEVEL_EMPTY 330 /* 3.30V */
41#define BATTERY_LEVEL_DANGEROUS 339 /* 3.39V */
42#define BATTERY_LEVEL_FULL 400 /* 4.00V */
43#define BATTERY_CAPACITY_MIN 1300
44#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable in settings */
45#define BATTERY_TYPES_COUNT 1
38#else /* Recorder, NiMH */ 46#else /* Recorder, NiMH */
39#define BATTERY_LEVEL_SHUTDOWN 450 /* 4.50V */ 47#define BATTERY_LEVEL_SHUTDOWN 450 /* 4.50V */
40#define BATTERY_LEVEL_EMPTY 465 /* 4.65V */ 48#define BATTERY_LEVEL_EMPTY 465 /* 4.65V */