When the device receives network traffic the chipset triggers a wakeup
interrupt to get the data to the kernel, then a time-limited wakelock is
held while the data is delivered to applications.  If you want to keep the
device awake after receiving the data you should grab your own wakelock
when you get the data.

R

On Sun, Apr 15, 2012 at 10:58 PM, Heshan Perera <
[email protected]> wrote:

> As stated in the answer to this (http://stackoverflow.com/questions/
> 5120185/android-sleep-standby-mode)
>
> question, the CDMA and GSM radios are kept on, even after the CPU is
> put to sleep on an Android device.
>
> My questions are...
>
> When a call is received, what is it that wakes the CPU / phone up ?
>
> Is there a similar mechanism to wake my application up when data is
> received via an active TCP connection to a server, even after the
> phone has gone to sleep mode ?
>
> --
> 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
>

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