Hello,

I was using WakeLocks and they worked without any problem but when I
tried to use goToSleep method of PowerManager I faced a problem.

When I call goToSleep method by a time such as below, system does not
behave as I supposed to. System directly sleeps when come across this
line whereas it should wait 5 seconds and then sleep, or am I wrong?

pm.goToSleep(SystemClock.uptimeMillis() + 5000L);

Thanks,
-sacoskun
--~--~---------~--~----~------------~-------~--~----~
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]
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