summaryrefslogtreecommitdiffstats
path: root/linux/Battery.h
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2014-11-27 21:02:52 -0200
committerHisham Muhammad <hisham@gobolinux.org>2014-11-27 21:04:57 -0200
commit430c7c9a9b2301fbe574cd9ca6919ed80d6f17a2 (patch)
tree54a2c6e0a39015b4ef22bcd711aee2abd0dfec6a /linux/Battery.h
parentb4f6b110925a56d0818034ad1ecce8214ac873a0 (diff)
Move platform-dependent parts of Linux battery meter.
Diffstat (limited to 'linux/Battery.h')
-rw-r--r--linux/Battery.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/linux/Battery.h b/linux/Battery.h
new file mode 100644
index 00000000..88ba2b01
--- /dev/null
+++ b/linux/Battery.h
@@ -0,0 +1,24 @@
+/* Do not edit this file. It was automatically generated. */
+
+#ifndef HEADER_Battery
+#define HEADER_Battery
+/*
+htop - linux/Battery.h
+(C) 2004-2014 Hisham H. Muhammad
+Released under the GNU GPL, see the COPYING file
+in the source distribution for its full text.
+
+Linux battery readings written by Ian P. Hands (iphands@gmail.com, ihands@redhat.com).
+*/
+
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE
+#endif
+
+ACPresence Battery_isOnAC();
+
+double Battery_getProcBatData();
+
+double Battery_getSysBatData();
+
+#endif