The effect of different vendor RIL implementations of URC's on Android

531 Views Asked by At

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.

0

There are 0 best solutions below