cpufreq/ondemand: Add CPU idle detection