summaryrefslogtreecommitdiff
path: root/include/charge_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/charge_state.h')
-rw-r--r--include/charge_state.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/charge_state.h b/include/charge_state.h
index 4ac41cbe4d..7d71c68cd2 100644
--- a/include/charge_state.h
+++ b/include/charge_state.h
@@ -99,6 +99,11 @@ int board_get_battery_soc(void);
#endif
/**
+ * Return current display charge in 10ths of a percent (e.g. 1000 = 100.0%)
+ */
+int charge_get_display_charge(void);
+
+/**
* Check if board is consuming full input current
*
* This returns true if the battery charge percentage is between 2% and 95%