diff options
Diffstat (limited to 'firmware/powermgmt.h')
-rw-r--r-- | firmware/powermgmt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/powermgmt.h b/firmware/powermgmt.h index dbecc12d44..ee2c513181 100644 --- a/firmware/powermgmt.h +++ b/firmware/powermgmt.h | |||
@@ -59,12 +59,12 @@ extern int powermgmt_last_cycle_level; /* which level had the batteries | |||
59 | 59 | ||
60 | extern int battery_lazyness[20]; /* how does the battery react when plugging in/out the charger */ | 60 | extern int battery_lazyness[20]; /* how does the battery react when plugging in/out the charger */ |
61 | void enable_trickle_charge(bool on); | 61 | void enable_trickle_charge(bool on); |
62 | void set_battery_capacity(int capacity); /* set local battery capacity value */ | ||
62 | extern int trickle_sec; /* trickle charge: How many seconds per minute are we charging actually? */ | 63 | extern int trickle_sec; /* trickle charge: How many seconds per minute are we charging actually? */ |
63 | extern int charge_state; /* tells what the charger is doing (for info display): 0: decharging/charger off, 1: charge, 2: top-off, 3: trickle */ | 64 | extern int charge_state; /* tells what the charger is doing (for info display): 0: decharging/charger off, 1: charge, 2: top-off, 3: trickle */ |
64 | 65 | ||
65 | #endif /* HAVE_CHARGE_CTRL */ | 66 | #endif /* HAVE_CHARGE_CTRL */ |
66 | 67 | ||
67 | #define BATTERY_CAPACITY 1800 /* battery capacity in mAh for runtime estimation */ | ||
68 | #define CURRENT_NORMAL 145 /* usual current in mA when using the AJB including some disk/backlight/... activity */ | 68 | #define CURRENT_NORMAL 145 /* usual current in mA when using the AJB including some disk/backlight/... activity */ |
69 | #define CURRENT_BACKLIGHT 30 /* additional current when backlight is always on */ | 69 | #define CURRENT_BACKLIGHT 30 /* additional current when backlight is always on */ |
70 | #define CURRENT_CHARGING 300 /* charging current */ | 70 | #define CURRENT_CHARGING 300 /* charging current */ |