aboutsummaryrefslogtreecommitdiffstats
path: root/openbsd/Battery.c
blob: f9d0969a0abaea197fd5e4eefd743fbda3a40401 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
htop - openbsd/Battery.c
(C) 2015 Hisham H. Muhammad
(C) 2015 Michael McConville
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;
}

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