feat(config file): add a config file
This commit is contained in:
@@ -15,7 +15,7 @@ char
|
||||
FILE *f;
|
||||
|
||||
/* open up the battery capacity for reading */
|
||||
d = concat(battery_dir, "/capacity");
|
||||
d = concat(battery_status_path, "/capacity");
|
||||
f = fopen(d, "r");
|
||||
free(d);
|
||||
|
||||
|
Reference in New Issue
Block a user