summaryrefslogtreecommitdiff
path: root/firmware/powermgmt.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/powermgmt.h')
-rw-r--r--firmware/powermgmt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/powermgmt.h b/firmware/powermgmt.h
index ee2c513181..b7f8b01978 100644
--- a/firmware/powermgmt.h
+++ b/firmware/powermgmt.h
@@ -59,7 +59,6 @@ extern int powermgmt_last_cycle_level; /* which level had the batteries
59 59
60extern int battery_lazyness[20]; /* how does the battery react when plugging in/out the charger */ 60extern int battery_lazyness[20]; /* how does the battery react when plugging in/out the charger */
61void enable_trickle_charge(bool on); 61void enable_trickle_charge(bool on);
62void set_battery_capacity(int capacity); /* set local battery capacity value */
63extern int trickle_sec; /* trickle charge: How many seconds per minute are we charging actually? */ 62extern int trickle_sec; /* trickle charge: How many seconds per minute are we charging actually? */
64extern int charge_state; /* tells what the charger is doing (for info display): 0: decharging/charger off, 1: charge, 2: top-off, 3: trickle */ 63extern int charge_state; /* tells what the charger is doing (for info display): 0: decharging/charger off, 1: charge, 2: top-off, 3: trickle */
65 64
@@ -70,6 +69,7 @@ extern int charge_state; /* tells what the charger is doing (for info di
70#define CURRENT_CHARGING 300 /* charging current */ 69#define CURRENT_CHARGING 300 /* charging current */
71 70
72extern unsigned short power_history[POWER_HISTORY_LEN]; 71extern unsigned short power_history[POWER_HISTORY_LEN];
72void set_battery_capacity(int capacity); /* set local battery capacity value */
73 73
74/* Start up power management thread */ 74/* Start up power management thread */
75void power_init(void); 75void power_init(void);