summaryrefslogtreecommitdiff
path: root/include/libgsmd
diff options
context:
space:
mode:
Diffstat (limited to 'include/libgsmd')
-rw-r--r--include/libgsmd/misc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libgsmd/misc.h b/include/libgsmd/misc.h
index 02483d3..884e294 100644
--- a/include/libgsmd/misc.h
+++ b/include/libgsmd/misc.h
@@ -71,4 +71,6 @@ extern int lgsm_get_serial(struct lgsm_handle *lh);
extern int lgsm_voicemail_set(struct lgsm_handle *lh, const char *number);
/* Get currently configured voice mail number */
extern int lgsm_voicemail_get(struct lgsm_handle *lh);
+/* Get Battery Connection status and charge level */
+extern int lgsm_get_battery(struct lgsm_handle *lh);
#endif
personal git repositories of Harald Welte. Your mileage may vary