Hi. I'm wondering if anyone can explain to me the following.

I have two devices, an HTC Desire and a Samsung Galaxy Nexus. I have the 
same app running on both. The app has a foreground service listening to 
Cell Location and Signal Strength updates by registering to the 
PhoneStateListener.

Both work similarly when the phone is fully awake. When the phones go to 
sleep, the nexus keeps updating the signal strength (and sometimes the cell 
location) but the Desire stops. This I reckon is due to how each RIL is 
handling the SCREEN_OFF intent.

What I would like to understand is, what is the effect of the cell/signal 
updates on the nexus when the phone is sleep. I have a logger in the 
listener and I keep getting update logs during sleep.

1) Does this mean Android is waking up on each signal strength update?
2) If I deregister from this listener on screen off, will Android still 
wake up because of the way the RIL is implemented?

I don't hold any cpu locks inside the listener.

Thanks.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to