Update APIs to allow for idle time calculation.