diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/powermgmt.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/firmware/export/powermgmt.h b/firmware/export/powermgmt.h index 59f9465d49..3bccb0f59f 100644 --- a/firmware/export/powermgmt.h +++ b/firmware/export/powermgmt.h | |||
@@ -61,9 +61,8 @@ | |||
61 | #define CHARGE_MAX_TIME_1500 450 /* minutes: maximum charging time for 1500 mAh batteries */ | 61 | #define CHARGE_MAX_TIME_1500 450 /* minutes: maximum charging time for 1500 mAh batteries */ |
62 | /* actual max time depends also on BATTERY_CAPACITY! */ | 62 | /* actual max time depends also on BATTERY_CAPACITY! */ |
63 | #define CHARGE_MIN_TIME 10 /* minutes: minimum charging time */ | 63 | #define CHARGE_MIN_TIME 10 /* minutes: minimum charging time */ |
64 | #define CHARGE_RESTART_HI 85 /* %: when to restart charging in 'charge' mode */ | 64 | #define CHARGE_RESTART 85 /* %: when to restart charging in 'charge' mode */ |
65 | /* attention: if set too high, normal charging is started in trickle mode */ | 65 | /* attention: if set too high, normal charging is started in trickle mode */ |
66 | #define CHARGE_RESTART_LO 10 /* %: when to restart charging in 'discharge' mode */ | ||
67 | #define TOPOFF_MAX_TIME 90 /* After charging, go to top off charge. How long should top off charge be? */ | 66 | #define TOPOFF_MAX_TIME 90 /* After charging, go to top off charge. How long should top off charge be? */ |
68 | #define TOPOFF_VOLTAGE 565 /* which voltage is best? (centivolts) */ | 67 | #define TOPOFF_VOLTAGE 565 /* which voltage is best? (centivolts) */ |
69 | #define TRICKLE_MAX_TIME 12*60 /* After top off charge, go to trickle charge. How long should trickle charge be? */ | 68 | #define TRICKLE_MAX_TIME 12*60 /* After top off charge, go to trickle charge. How long should trickle charge be? */ |
@@ -80,9 +79,6 @@ extern int short_delta; /* short term delta battery voltage */ | |||
80 | extern int powermgmt_last_cycle_startstop_min; /* how many minutes ago was the charging started or stopped? */ | 79 | extern int powermgmt_last_cycle_startstop_min; /* how many minutes ago was the charging started or stopped? */ |
81 | extern int powermgmt_last_cycle_level; /* which level had the batteries at this time? */ | 80 | extern int powermgmt_last_cycle_level; /* which level had the batteries at this time? */ |
82 | 81 | ||
83 | void enable_deep_discharge(bool on); /* deep discharge the battery */ | ||
84 | |||
85 | void enable_trickle_charge(bool on); | ||
86 | extern int trickle_sec; /* trickle charge: How many seconds per minute are we charging actually? */ | 82 | extern int trickle_sec; /* trickle charge: How many seconds per minute are we charging actually? */ |
87 | 83 | ||
88 | #endif /* HAVE_CHARGE_CTRL */ | 84 | #endif /* HAVE_CHARGE_CTRL */ |