diff options
Diffstat (limited to 'src/print_battery_info.c')
-rw-r--r-- | src/print_battery_info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print_battery_info.c b/src/print_battery_info.c index 460134d..c806493 100644 --- a/src/print_battery_info.c +++ b/src/print_battery_info.c @@ -106,7 +106,7 @@ void print_battery_info(int number, const char *format, bool last_full_capacity) (void)snprintf(remainingbuf, sizeof(remainingbuf), "%02d:%02d:%02d", max(hours, 0), max(minutes, 0), max(seconds, 0)); - + empty_time = time(NULL); empty_time += seconds_remaining; empty_tm = localtime(&empty_time); |