Take the 2-minute tour ×  This question already has an answer
here:  Is there any android widget which allows me to lock my
phone? The 'power' button on my android phone is broken? I can't
use that to lock my phone screen.  Thank you.  share|improve
this question add comment  marked as duplicate by Izzy, Al E.,
roxan, t0mm13b, Liam W Mar 23 '13 at 21:53   1 Answer  up vote 0
down vote accepted  Short answer is no.  [Extended Answer] This
would require the use of PowerManager.gotoSleep(long time), and
the use of that method requires the
android.permission.DEVICE_POWER permission. DEVICE_POWER is only
available to applications signed as system applications. Only
applications that ship with the device and signed by the
manufacture would be allowed to use the method.  share|improve
this answer I read android.stackexchange.com/questions/9826/…
and I am able to find and install a Lock Screen Widget. Why a
Widget can do that despite what you said? –  michael Jun 2 '11
at 22:12 a "lock screen widget" does not actuall