Yes - this is true, which makes my dilemma more surprising and
perplexing.

When I have a PhoneStateListener object registered with the
TelephonyManager, PhoneStateListener.onSignalStrengthChanged(int) is
not called when the CPU goes to sleep, AND when I have a partial wake
lock.

The only way I can keep getting updates from the phone is to use a dim
wake lock.

I verified this is the case by logging signal strength over a very
long drive.

Thoughts and Ideas?


Richard Schilling
Mobile Operating Systems Engineer
Root Wireless


On Sep 30, 6:27 pm, Dianne Hackborn <[email protected]> wrote:
> I must be missing something here...  the antenna stays on even if no wake
> locks are held, so the radio CPU can wake up the main CPU when there is an
> incoming phone call or data traffic.
>
> On Wed, Sep 30, 2009 at 3:54 PM, Richard Schilling <
>
>
>
> [email protected]> wrote:
>
> > This is not documented or discussed that I can find, so I post the
> > question here.
>
> > When the application has a PARTIAL_WAKE_LOCK, the CPU stays turned on,
> > but what about the cellular antenna? Does the PhoneStateListener not
> > receive any change in state from the antenna when the
> > PARTIAL_WAKE_LOCK is acquired?   I have an application that needs to
> > continuously read the signal strength while the user isn't using the
> > phone.
>
> > I suspect I need a FULL_WAKE_LOCK to do that.  Is that true?
>
> > Thanks.
>
> > Richard Schilling
> > Mobile Operating Systems Engineer
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.
--~--~---------~--~----~------------~-------~--~----~
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