diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/powermgmt.h | 5 |
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 | |||
68 | extern int battery_lazyness[20]; /* how does the battery react when plugging in/out the charger */ | 68 | extern int battery_lazyness[20]; /* how does the battery react when plugging in/out the charger */ |
69 | void enable_trickle_charge(bool on); | 69 | void enable_trickle_charge(bool on); |
70 | extern int trickle_sec; /* trickle charge: How many seconds per minute are we charging actually? */ | 70 | extern int trickle_sec; /* trickle charge: How many seconds per minute are we charging actually? */ |
71 | extern 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) | ||
75 | extern 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 */ |