Adapted interactive to new get_cpu_idle_time function!