summaryrefslogtreecommitdiff
path: root/firmware/powermgmt.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/powermgmt.h')
-rw-r--r--firmware/powermgmt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/powermgmt.h b/firmware/powermgmt.h
index f2f3a0ef94..5e828e265f 100644
--- a/firmware/powermgmt.h
+++ b/firmware/powermgmt.h
@@ -39,7 +39,8 @@
39 39
40#ifdef HAVE_CHARGE_CTRL 40#ifdef HAVE_CHARGE_CTRL
41#define POWER_MESSAGE_LEN 32 /* power thread status message */ 41#define POWER_MESSAGE_LEN 32 /* power thread status message */
42#define CHARGE_MAX_TIME 8*60 /* minutes: maximum charging time */ 42#define CHARGE_MAX_TIME_1500 450 /* minutes: maximum charging time for 1500 mAh batteries */
43 /* actual max time depends also on BATTERY_CAPACITY! */
43#define CHARGE_MIN_TIME 10 /* minutes: minimum charging time */ 44#define CHARGE_MIN_TIME 10 /* minutes: minimum charging time */
44#define CHARGE_RESTART_HI 85 /* %: when to restart charging in 'charge' mode */ 45#define CHARGE_RESTART_HI 85 /* %: when to restart charging in 'charge' mode */
45 /* attention: if set too high, normal charging is started in trickle mode */ 46 /* attention: if set too high, normal charging is started in trickle mode */