diff options
Diffstat (limited to 'lowbat.c')
-rw-r--r-- | lowbat.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -148,7 +148,7 @@ int main() { w_lowbat_crit = w_lowbat = 0; // clear conditions } - printf("\r%d%%", capacity); + printf("\r%s %d%%", discharging ? "Discharging" : "Charging", capacity); fflush(stdout); sleep(PERIOD); } |