backport mach-msm/idle_stats_device.c from codeaurora msm-3.4

10x mrg666