add time to next wakeup in template