diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2015-03-16 03:13:42 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2015-03-16 03:14:20 -0300 |
commit | adbfe3c3f171af332322d61f2a4912f36b57edda (patch) | |
tree | 6ac08e0b6c2b8b4d3d2582a0700164159034122d /freebsd/Battery.c | |
parent | 40f3391a3c5d391c096aa3d4c0a61cbf79c37060 (diff) |
Get FreeBSD tree to compile again with latest changes.
Diffstat (limited to 'freebsd/Battery.c')
-rw-r--r-- | freebsd/Battery.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/freebsd/Battery.c b/freebsd/Battery.c new file mode 100644 index 00000000..ab63aa10 --- /dev/null +++ b/freebsd/Battery.c @@ -0,0 +1,15 @@ +/* +htop - freebsd/Battery.c +(C) 2015 Hisham H. Muhammad +Released under the GNU GPL, see the COPYING file +in the source distribution for its full text. +*/ + +#include "BatteryMeter.h" + +void Battery_getData(double* level, ACPresence* isOnAC) { + // TODO + *level = -1; + *isOnAC = AC_ERROR; +} + |