Motorola Droid - Android v2.0.1

I've noticed on several occasions that the Browser seems to use a
disproportionate amount of the battery (Settings->About Phone->Battery
Use) - as much as 20-30%. This has occurred while the browser was in
the background.

 The common denominator in these events was that I had a page up
produced by my company (http://justsignal.com/iphone/dbacks.html) -
this is an iPhone viewport optimized web page running a JavaScript
timed AJAX fetch using JQuery.

My assumption was that when the browser went into the background it
would stop all JavaScript processing (not just timers, but all
processing).

The exact JavaScript in question is:

window.setInterval("pollJSUpdates()", 5000);

The pollJSUpdates function does a JQuery AJAX request returning XML.

Can someone confirm that when the browser is in the background
JavaScript execution either continues or is paused?

Thanks

Brian Roy
President & Founder
justSignal

--

You received this message because you are subscribed to the Google Groups 
"Android Discuss" 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-discuss?hl=en.


Reply via email to