battery.h (268B)
1 struct bat_arg { 2 char *bat; /* BAT name (ex. BAT0) */ 3 char *pre; /* prefix for percentages less than thres */ 4 char *suf; /* suffix for percentages less than thres */ 5 int thres; /* % threshold to consider low (-1 to disable) */ 6 }; 7 8 size_t batinfo(struct Block *b);