how much time is left in the current segment

compute how much time is left in the current segment (for use in
subsequent notification)