15a20da1aa
Added ability to log the battery level continuously. Added compile-time option #define USE_LIBNOTIFY to post a low-battery warning with libnotify.
15 lines
210 B
C
15 lines
210 B
C
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include <errno.h>
|
|
#include <unistd.h>
|
|
|
|
#include <criterion/criterion.h>
|
|
|
|
#ifdef USE_LIBNOTIFY
|
|
#include <libnotify/notify.h>
|
|
#endif
|
|
|
|
Test(misc, passing){
|
|
cr_assert(1);
|
|
}
|