summaryrefslogtreecommitdiff
path: root/include/charge_state_v2.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/charge_state_v2.h')
-rw-r--r--include/charge_state_v2.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/charge_state_v2.h b/include/charge_state_v2.h
index 7e17f43438..a841c383e6 100644
--- a/include/charge_state_v2.h
+++ b/include/charge_state_v2.h
@@ -47,6 +47,11 @@ struct charge_state_data {
#endif
};
+struct sustain_soc {
+ int8_t lower;
+ int8_t upper;
+};
+
/**
* Set the output current limit and voltage. This is used to provide power from
* the charger chip ("OTG" mode).