diff options
Diffstat (limited to 'firmware/export/powermgmt.h')
-rw-r--r-- | firmware/export/powermgmt.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/firmware/export/powermgmt.h b/firmware/export/powermgmt.h index b9ac996fc0..da78857072 100644 --- a/firmware/export/powermgmt.h +++ b/firmware/export/powermgmt.h | |||
@@ -19,24 +19,6 @@ | |||
19 | #ifndef _POWERMGMT_H_ | 19 | #ifndef _POWERMGMT_H_ |
20 | #define _POWERMGMT_H_ | 20 | #define _POWERMGMT_H_ |
21 | 21 | ||
22 | #if CONFIG_BATTERY == BATT_LIION2200 /* FM Recorder, LiIon */ | ||
23 | #define BATTERY_CAPACITY_MIN 2200 | ||
24 | #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable in settings */ | ||
25 | #define BATTERY_TYPES_COUNT 1 | ||
26 | #elif CONFIG_BATTERY == BATT_3AAA /* Ondio */ | ||
27 | #define BATTERY_CAPACITY_MIN 500 | ||
28 | #define BATTERY_CAPACITY_MAX 1500 /* max. capacity selectable in settings */ | ||
29 | #define BATTERY_TYPES_COUNT 2 /* Alkalines or NiMH */ | ||
30 | #elif CONFIG_BATTERY == BATT_LIPOL1300 /* iRiver H1x0 */ | ||
31 | #define BATTERY_CAPACITY_MIN 1300 | ||
32 | #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable in settings */ | ||
33 | #define BATTERY_TYPES_COUNT 1 | ||
34 | #else /* Recorder, NiMH */ | ||
35 | #define BATTERY_CAPACITY_MIN 1500 | ||
36 | #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable in settings */ | ||
37 | #define BATTERY_TYPES_COUNT 1 | ||
38 | #endif | ||
39 | |||
40 | #define POWER_HISTORY_LEN 2*60 /* 2 hours of samples, one per minute */ | 22 | #define POWER_HISTORY_LEN 2*60 /* 2 hours of samples, one per minute */ |
41 | 23 | ||
42 | #define CHARGE_END_SHORTD 6 /* stop when N minutes have passed with | 24 | #define CHARGE_END_SHORTD 6 /* stop when N minutes have passed with |