Tbh, I don't understand this deep sleep issue. So what if the frequency ramps up to 312-456mhz randomly while sleeping? There are many background processes running and obviously the frequency has to scale up.
This would have been an issue if battery life while idling was poor. But in this case, it's not, rather it idles very well.
I think it's one of those things where you feel 'uncomfortable' because of the sudden increase in frequency. It could ironically be the case that CPU Spy itself ramps up the frequency in order to check if it's deep sleeping. It is because of this reason that after monitoring battery life and optimizing my phone for it (after deleting battery hogging apps and monitoring battery life until there are no rogue apps), I delete all apps like CPU spy, Battery monitor widget, betterbatterystats etc. just to ensure that my battery is used efficiently.
So don't worry about it If it does bother you, you'll have to experiment with rogue apps.
I understand what your saying, but when the phone is deep sleeping it lasts much longer than when it gets stuck not deep sleeping. I have tried ending all the running apps, turning the screen off and leaving it for 10 mins but the deep sleep still does not register as a used CPU state until a restart. I wanted to run CPU spy since the original deep sleep problems to make sure it had been fixed.
Like I have said currently its deep sleeping since my restart earlier today. This issue only happened since 2.7.
Are there some things I can do to see whats going on??