diff options
Diffstat (limited to 'unsupported')
-rw-r--r-- | unsupported/Platform.c | 4 | ||||
-rw-r--r-- | unsupported/Platform.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/unsupported/Platform.c b/unsupported/Platform.c index e5f22d2c..2178a373 100644 --- a/unsupported/Platform.c +++ b/unsupported/Platform.c @@ -60,3 +60,7 @@ int Platform_getMaxPid() { return -1; } +void Platform_getBatteryLevel(double* level, ACPresence* isOnAC) { + *level = -1; + *isOnAC = AC_ERROR; +} diff --git a/unsupported/Platform.h b/unsupported/Platform.h index 888e8cf3..0a822e75 100644 --- a/unsupported/Platform.h +++ b/unsupported/Platform.h @@ -23,5 +23,6 @@ void Platform_getLoadAverage(double* one, double* five, double* fifteen); int Platform_getMaxPid(); +void Platform_getBatteryLevel(double* level, ACPresence* isOnAC); #endif |