seperate out the battery funcs
This commit is contained in:
parent
bfe23c60fd
commit
b4715770db
3 changed files with 61 additions and 47 deletions
6
include/battery.h
Normal file
6
include/battery.h
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
char *battery_percent(void);
|
||||
bool plugged_in(char *fn);
|
||||
Loading…
Add table
Add a link
Reference in a new issue