You can use a workaround as described in here:

http://groups.google.com/group/android-developers/browse_thread/thread/79fe3f22c0c764cf#

[EMAIL PROTECTED] wrote:
> Do you measure CPU activity in Android, or on your PC?
>
> On Mar 9, 2:44�pm, Peli <[EMAIL PROTECTED]> wrote:
> > If I run
> >
> > Thread.sleep(3000);
> >
> > in a thread, I expect the CPU activity to be low. Yet, while the
> > thread is sleeping, the CPU runs at 100%.
> >
> > The same happens if a thread is waiting for a lock to be released: In
> > the blocking Lock.lock() call, the CPU shows 100% activity, even
> > though all processes involved wait.
> >
> > Shall I write an issue for this, or is there some workaround to
> > decrease CPU activity?
> >
> > Peli
--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to