summaryrefslogtreecommitdiffstats
path: root/unsupported/Battery.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2015-03-16 03:16:18 -0300
committerHisham Muhammad <hisham@gobolinux.org>2015-03-16 03:16:18 -0300
commitddbb71d1c8c78183fa92a981fef9856afff67bce (patch)
tree4a96b4e948d1fd0618ac69262b96b49723f0c760 /unsupported/Battery.c
parentadbfe3c3f171af332322d61f2a4912f36b57edda (diff)
Add files to unsupported platform.
Diffstat (limited to 'unsupported/Battery.c')
-rw-r--r--unsupported/Battery.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/unsupported/Battery.c b/unsupported/Battery.c
new file mode 100644
index 00000000..6d6e94bd
--- /dev/null
+++ b/unsupported/Battery.c
@@ -0,0 +1,8 @@
+
+#include "BatteryMeter.h"
+
+void Battery_getData(double* level, ACPresence* isOnAC) {
+ *level = -1;
+ *isOnAC = AC_ERROR;
+}
+

© 2014-2024 Faster IT GmbH | imprint | privacy policy