battery_log/sources/test/test.c
Sandy Mossgrave 15a20da1aa Quicksaving before I add the -f option.
Added ability to log the battery level continuously.
Added compile-time option #define USE_LIBNOTIFY to post a low-battery warning with libnotify.
2023-06-06 15:05:52 +00:00

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);
}