Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
WiFi data transfer stalls as soon as screen becomes blank
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Thilo-Alexander Ginkel  
View profile  
 More options Apr 11 2010, 9:12 am
From: Thilo-Alexander Ginkel <th...@ginkel.com>
Date: Sun, 11 Apr 2010 06:12:57 -0700 (PDT)
Local: Sun, Apr 11 2010 9:12 am
Subject: WiFi data transfer stalls as soon as screen becomes blank
Hello everyone,

I am currently trying to figure out how to fix an annoying bug in
Sipdroid [1], which seems to be triggered by a power management
optimization in Android 2.1:

While a SIP (VoIP) call is in progress via WiFi, the data transfer
becomes unreliable (and basically stalls) as soon as the display goes
blank after the display timeout or proximity sensor has been
triggered. As soon as the display comes back (by hitting the power
button or releasing the proximity sensor) the data transfer reverts
back to normal.

Currently, the only possible workaround seems to be to acquire a
PowerManager.SCREEN_DIM_WAKE_LOCK for the duration of the call, which
reliably prevents the issue from surfacing. Still, I think it would be
beneficial to come up with a solution that allows the screen to become
blank (if only for reducing battery consumption).

I already tried getting a WifiManager.WIFI_MODE_FULL to no avail.

Any hint how to sort this out is much appreciated!

Thanks,
Thilo

[1] http://sipdroid.org/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thilo-Alexander Ginkel  
View profile  
 More options Apr 15 2010, 1:49 pm
From: Thilo-Alexander Ginkel <th...@ginkel.com>
Date: Thu, 15 Apr 2010 10:49:08 -0700 (PDT)
Local: Thurs, Apr 15 2010 1:49 pm
Subject: Re: WiFi data transfer stalls as soon as screen becomes blank
Hello again,

On Apr 11, 3:12 pm, Thilo-Alexander Ginkel <th...@ginkel.com> wrote:

In the meantime I thought about this issue and came to the conclusion
that it may not be WiFi throttling, which is causing the trouble, but
rather CPU scaling. In that case, my question would be what other
apps, such as media players are doing to avoid being throttled by CPU
scaling while the screen is turned off?

Thanks,
Thilo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jdeslip  
View profile  
 More options May 3 2010, 9:18 pm
From: jdeslip <jdes...@gmail.com>
Date: Mon, 3 May 2010 18:18:29 -0700 (PDT)
Local: Mon, May 3 2010 9:18 pm
Subject: [android-developers] Re: WiFi data transfer stalls as soon as screen becomes blank
Hi,

I have the exact same problem on a download manager app I am trying to
write.  My service aquires PARTIAL_WAKE_LOCK, but when the screen is
blank wifi downloads still seem to come to a stand-still (on Nexus
One).  If I instead acquire a FULL_WAKE_LOCK (or SCREEN_DIM) all is
fine.  Obviously, these don't make any sense for a download-
manager...  Also, everything is fine with 3G downloads (they keep
going in the background whether I have any wakelock or not).

Did you ever figure this problem out?

-Jack

On Apr 15, 10:49 am, Thilo-Alexander Ginkel <th...@ginkel.com> wrote:

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

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thilo-Alexander Ginkel  
View profile  
 More options May 4 2010, 5:58 pm
From: Thilo-Alexander Ginkel <th...@ginkel.com>
Date: Tue, 4 May 2010 14:58:39 -0700 (PDT)
Local: Tues, May 4 2010 5:58 pm
Subject: [android-developers] Re: WiFi data transfer stalls as soon as screen becomes blank
Hi Jack,

On May 4, 3:18 am, jdeslip <jdes...@gmail.com> wrote:

> I have the exact same problem on a download manager app I am trying to
> write.  My service aquires PARTIAL_WAKE_LOCK, but when the screen is
> blank wifi downloads still seem to come to a stand-still (on Nexus
> One).  If I instead acquire a FULL_WAKE_LOCK (or SCREEN_DIM) all is
> fine.  Obviously, these don't make any sense for a download-
> manager...  Also, everything is fine with 3G downloads (they keep
> going in the background whether I have any wakelock or not).

that's interesting and probably rules out my CPU scaling theory making
the WiFi throttling theory more likely again (generic CPU throttling
would IMHO also affect 3G downloads).

> Did you ever figure this problem out?

Unfortunately, not. I reported it to HTC as a bug, but have not head
anything back from them. AFAIK, the N1 is also affected, so it may
make sense to report this on the Android bug tracker.

My own analysis is currently stuck as HTC is denying access to the
Desire's kernel source and I think the root cause to this phenomenon
is somewhere on the kernel level (related to how the [non-]existence
of a wake lock interacts with the WiFi hardware driver). Well, I could
try using the N1 kernel source code...

Regards,
Thilo

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »