summaryrefslogtreecommitdiff
path: root/include/libgsmd
diff options
context:
space:
mode:
authorerin_yueh <erin_yueh@99fdad57-331a-0410-800a-d7fa5415bdb3>2008-02-21 05:16:15 +0000
committererin_yueh <erin_yueh@99fdad57-331a-0410-800a-d7fa5415bdb3>2008-02-21 05:16:15 +0000
commit29a2f6a3b46afb00052a24b05232630acad3af70 (patch)
tree181b89e02491f52e5d375fa277521cd76382e2f3 /include/libgsmd
parent20adbe01bb4d7490436d0294de37b6c12624143b (diff)
gsmd: get battery status (Sudharshan S)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4091 99fdad57-331a-0410-800a-d7fa5415bdb3
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