TimeToDie with percentage

TimeToDie could use a second parameter which sets the desired percentage - e.g you might to know how much time is left till 20% so you can prepare for the burst phase.
 
See also issue #237