Phone doesn't go to sleep?
<p>Is it possible that if phone's screen turns off completely but phone does not go to sleep?</p>

<p>I have an app which do some things when device goes to sleep. I registered broadcast intent: Intent.ACTION_SCREEN_OFF</p>

<p>On my device app works fine ( HTC Desire, cyanogenmod ). When screen turns off, my app is activated.</p>

<p>I tried app on another phone (HTC Wildfire S, offical gingerbread ), and here is the strange part. When screen goes off my app is not activated (sometimes it is, like 10%). So i connected it with my LOGCAT and i wanted to see if device actually goes to sleep when screen is turned off, and the thing is that when is connected with my PC, device ALWAYS goes to sleep and my app is activated.</p>

<p>On emulators from froyo to jelly bean app works perfect.  Is problem in my app?</p>
