tags:

views:

72

answers:

1

I 'm using Wake Lock to stay awake my phone. I want to activate sleep mode when I will push the button "Activate"

How can I activate sleep mode?

A: 

How can I activate sleep mode?

You don't. The phone will go to sleep after it has been inactive for the user-specified period and after any other application holding an acquired WakeLock releases it.

CommonsWare
Thanks for your response. I 've done it
vic