diff options
| author | Jörg Hohensohn <hohensoh@rockbox.org> | 2005-03-03 08:32:55 +0000 |
|---|---|---|
| committer | Jörg Hohensohn <hohensoh@rockbox.org> | 2005-03-03 08:32:55 +0000 |
| commit | d061b371d6f53e0c2f310f4eb5776430772a8ac5 (patch) | |
| tree | 611417c1cf40f66fe4d7c48e976ab3a26fbb1a22 /firmware/export | |
| parent | ac79a0c42b19c4c3139afee467672d6e6c5b1c06 (diff) | |
| download | rockbox-d061b371d6f53e0c2f310f4eb5776430772a8ac5.zip rockbox-d061b371d6f53e0c2f310f4eb5776430772a8ac5.tar.gz rockbox-d061b371d6f53e0c2f310f4eb5776430772a8ac5.tar.bz2 rockbox-d061b371d6f53e0c2f310f4eb5776430772a8ac5.tar.xz | |
removed the practically useless "trickle charge" and "deep discharge" options, now trickle is always on and deep always off
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6107 a1c6a512-1295-4272-9138-f99709370657
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 59f9465..3bccb0f 100644 --- a/firmware/export/powermgmt.h +++ b/firmware/export/powermgmt.h @@ -61,9 +61,8 @@ #define CHARGE_MAX_TIME_1500 450 /* minutes: maximum charging time for 1500 mAh batteries */ /* actual max time depends also on BATTERY_CAPACITY! */ #define CHARGE_MIN_TIME 10 /* minutes: minimum charging time */ -#define CHARGE_RESTART_HI 85 /* %: when to restart charging in 'charge' mode */ +#define CHARGE_RESTART 85 /* %: when to restart charging in 'charge' mode */ /* attention: if set too high, normal charging is started in trickle mode */ -#define CHARGE_RESTART_LO 10 /* %: when to restart charging in 'discharge' mode */ #define TOPOFF_MAX_TIME 90 /* After charging, go to top off charge. How long should top off charge be? */ #define TOPOFF_VOLTAGE 565 /* which voltage is best? (centivolts) */ #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 */ extern int powermgmt_last_cycle_startstop_min; /* how many minutes ago was the charging started or stopped? */ extern int powermgmt_last_cycle_level; /* which level had the batteries at this time? */ -void enable_deep_discharge(bool on); /* deep discharge the battery */ - -void enable_trickle_charge(bool on); extern int trickle_sec; /* trickle charge: How many seconds per minute are we charging actually? */ #endif /* HAVE_CHARGE_CTRL */ |