summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/powermgmt.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/export/powermgmt.h b/firmware/export/powermgmt.h
index f6b1a64b68..c772195d64 100644
--- a/firmware/export/powermgmt.h
+++ b/firmware/export/powermgmt.h
@@ -68,10 +68,13 @@ extern int powermgmt_last_cycle_level; /* which level had the batteries
68extern int battery_lazyness[20]; /* how does the battery react when plugging in/out the charger */ 68extern int battery_lazyness[20]; /* how does the battery react when plugging in/out the charger */
69void enable_trickle_charge(bool on); 69void enable_trickle_charge(bool on);
70extern int trickle_sec; /* trickle charge: How many seconds per minute are we charging actually? */ 70extern int trickle_sec; /* trickle charge: How many seconds per minute are we charging actually? */
71extern int charge_state; /* tells what the charger is doing (for info display): 0: decharging/charger off, 1: charge, 2: top-off, 3: trickle */
72 71
73#endif /* HAVE_CHARGE_CTRL */ 72#endif /* HAVE_CHARGE_CTRL */
74 73
74#if defined(HAVE_CHARGE_CTRL) || defined(HAVE_LIION)
75extern int charge_state; /* tells what the charger is doing (for info display): 0: decharging/charger off, 1: charge, 2: top-off, 3: trickle */
76#endif
77
75#define CURRENT_NORMAL 145 /* usual current in mA when using the AJB including some disk/backlight/... activity */ 78#define CURRENT_NORMAL 145 /* usual current in mA when using the AJB including some disk/backlight/... activity */
76#define CURRENT_USB 500 /* usual current in mA in USB mode */ 79#define CURRENT_USB 500 /* usual current in mA in USB mode */
77#define CURRENT_BACKLIGHT 30 /* additional current when backlight is always on */ 80#define CURRENT_BACKLIGHT 30 /* additional current when backlight is always on */