--- process/do_process.cpp 2012-05-12 19:00:43.390863430 -0700 +++ process/do_process.cpp.new 2012-05-12 18:54:34.800840306 -0700 @@ -788,6 +788,8 @@ WINDOW *win; double pw; int tl; + int tlt; + int tlr; int show_power; int need_linebreak = 0; @@ -819,6 +821,9 @@ pw = global_joules_consumed(); tl = global_time_left() / 60; + tlt = (tl /60); + tlr = tl % 60; + if (pw > 0.0001) { char buf[32]; wprintw(win, _("The battery reports a discharge rate of %sW\n"), @@ -826,7 +831,7 @@ need_linebreak = 1; } if (tl > 0 && pw > 0.0001) { - wprintw(win, _("The estimated remaining time is %i minutes\n"), tl); + wprintw(win, _("The estimated remaining time is: %i hours, %i minutes\n"), tlt, tlr); need_linebreak = 1; } @@ -1188,4 +1193,4 @@ if (perf_events) perf_events->release(); delete perf_events; -} \ No newline at end of file +}