aboutsummaryrefslogtreecommitdiffstats
path: root/solaris/Battery.c
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2018-04-11 01:26:28 +0200
committerDaniel Lange <DLange@git.local>2018-04-11 01:52:54 +0200
commitdf568a576f7b44ac5a2b9b7222c7f39d9932f626 (patch)
treeb30ce33fd0d49398b52bf9a90b42304a7c32455a /solaris/Battery.c
parent2ee50d030178cede83eb9d0005fbc19f819d30fe (diff)
downloaddebian_htop-df568a576f7b44ac5a2b9b7222c7f39d9932f626.tar.gz
debian_htop-df568a576f7b44ac5a2b9b7222c7f39d9932f626.tar.bz2
debian_htop-df568a576f7b44ac5a2b9b7222c7f39d9932f626.zip
Imported Upstream version 2.2.0
Diffstat (limited to 'solaris/Battery.c')
-rw-r--r--solaris/Battery.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/solaris/Battery.c b/solaris/Battery.c
new file mode 100644
index 0000000..6d6e94b
--- /dev/null
+++ b/solaris/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