summaryrefslogtreecommitdiff
path: root/include/battery_pack.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/battery_pack.h')
-rw-r--r--include/battery_pack.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/battery_pack.h b/include/battery_pack.h
index 0a43619102..5e0593a75a 100644
--- a/include/battery_pack.h
+++ b/include/battery_pack.h
@@ -58,4 +58,11 @@ int battery_cut_off(void);
*/
int battery_check_cut_off(void);
+/**
+ * Check if the battery is already cut off.
+ *
+ * @return 1 if battery has been cut off.
+ */
+int battery_is_cut_off(void);
+
#endif