summaryrefslogtreecommitdiff
path: root/include/battery.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/battery.h')
-rw-r--r--include/battery.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/battery.h b/include/battery.h
index b10f8904c4..7072b522ef 100644
--- a/include/battery.h
+++ b/include/battery.h
@@ -98,11 +98,13 @@ void battery_get_params(struct batt_params *batt);
void battery_vendor_params(struct batt_params *batt);
/**
- * Attempt communication with the battery.
+ * Check for presence of battery.
*
- * @return non-zero if the battery responds.
+ * @return non-zero if the battery is present. Note that the
+ * battery may not be responding on the i2c interface if it
+ * is deeply discharged.
*/
-int battery_is_connected(void);
+int battery_is_present(void);
/**
* Get battery mode.