[android-developers] What is wavelock in PowerManager API

2011-09-08 Thread Sarath Krishna
I was reading about PowerManager API . But, I couldn't understand the term wavelock. What is a wavelock? What does it exactly do? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] What is wavelock in PowerManager API

2011-09-08 Thread Mark Murphy
On Thu, Sep 8, 2011 at 5:42 PM, Sarath Krishna sarathkrishn...@gmail.com wrote: I was reading about PowerManager API . But, I couldn't understand the term wavelock.  What is a wavelock? What does it exactly do? There is no wavelock. There is WakeLock. An acquired WakeLock keeps the device awake

Re: [android-developers] What is wavelock in PowerManager API

2011-09-08 Thread Pratik Prajapati
copied Wakelock documentation below. Wakelocks = A locked wakelock, depending on its type, prevents the system from entering suspend or other low-power states. When creating a wakelock, you can select if it prevents suspend or low-power idle states. If the type is set to