summaryrefslogtreecommitdiff
path: root/include/battery.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/battery.h')
-rw-r--r--include/battery.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/battery.h b/include/battery.h
index ce39d8ddd2..724afad905 100644
--- a/include/battery.h
+++ b/include/battery.h
@@ -162,6 +162,9 @@ int battery_get_avg_voltage(void); /* in mV */
(BATT_FLAG_BAD_ANY | BATT_FLAG_WANT_CHARGE | BATT_FLAG_RESPONSIVE | \
BATT_FLAG_IMBALANCED_CELL)
+/* The flag of prechare when the battery voltage is lower than voltage_min */
+#define BATT_FLAG_DEEP_CHARGE 0x00010000
+
/* Battery constants */
struct battery_info {
/* Operation voltage in mV */