summaryrefslogtreecommitdiff
path: root/include/battery.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/battery.h')
-rw-r--r--include/battery.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/battery.h b/include/battery.h
index 85f8f2cc2b..7052e2d663 100644
--- a/include/battery.h
+++ b/include/battery.h
@@ -125,11 +125,17 @@ int battery_get_avg_voltage(void); /* in mV */
/* Battery constants */
struct battery_info {
- /* Design voltage in mV */
+ /* Operation voltage in mV */
int voltage_max;
int voltage_normal;
int voltage_min;
/* (TODO(chromium:756700): add desired_charging_current */
+ /**
+ * Pre-charge to fast charge threshold in mV,
+ * default to voltage_min if not specified.
+ * This option is only available on isl923x and rt946x.
+ */
+ int precharge_voltage;
/* Pre-charge current in mA */
int precharge_current;
/* Working temperature ranges in degrees C */