summaryrefslogtreecommitdiff
path: root/src/ec/google/chromeec/ec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/google/chromeec/ec.h')
-rw-r--r--src/ec/google/chromeec/ec.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ec/google/chromeec/ec.h b/src/ec/google/chromeec/ec.h
index 0062df60db..20b508c66a 100644
--- a/src/ec/google/chromeec/ec.h
+++ b/src/ec/google/chromeec/ec.h
@@ -425,6 +425,14 @@ void google_chromeec_clear_ec_ap_idle(void);
bool google_chromeec_is_battery_present_and_above_critical_threshold(void);
/**
+ * Check if battery is present.
+ *
+ * @return true: if the battery is present
+ * false: if the battery is not present
+ */
+bool google_chromeec_is_battery_present(void);
+
+/**
* Determine if the UCSI stack is currently active.
*
* @return true if EC implements the UCSI stack