If I open a datagram socket to listen on a particular UDP port and
leave it open but don't send anything, does that keep the radio on?

If a listening socket doesn't keep the radio on, then an application
could send a couple packets to register it's IP and port and then shut
up and wait for incoming requests.

Thoughts?

On Wed, Nov 26, 2008 at 5:43 PM, Mark Murphy <[EMAIL PROTECTED]> wrote:
>
>> And the radio is necessarily always on.
>
> Yeah, but...
>
> I was under the impression that, in normal operating mode, the GSM radio
> is in a low-power state. That's why you have "talk time" versus "standby
> time" in mobile device battery life specs -- when a call begins, the radio
> stays in a high-power-draw state until the call ends.
>
> So, the question is: with an open-but-quiet Internet connection on a
> carrier data network, how much power draw is there from the GSM radio?
>
> There's also the scenario of the device being on WiFi instead of GSM, but
> that's probably not as frequent.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 1.4 Published!
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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