Disable "Power Options" while locked

Discussion in 'Motorola Droid 2' started by emerex, Oct 11, 2010.

  1. emerex
    Offline

    emerex New Member

    Joined:
    Oct 11, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Anyone had an issue with their phone entering Airplane mode, turning off, or going silent while locked and in their pocket?

    I have noticed that while my phone is locked and the screen is off that you have the ability to hold the power button. After a few seconds a power options screen appears which allows you to do the functions above.

    Is there a method to disable this behavior?

    Let me know. Thanks!
  2. pool_shark
    Offline

    pool_shark Active Member

    Joined:
    Mar 28, 2010
    Messages:
    1,395
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Ohio
    Ratings:
    +7
    Stop putting it in your pocket. :)
  3. everstar80
    Offline

    everstar80 Member

    Joined:
    Aug 19, 2010
    Messages:
    356
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    the light of the moon
    Ratings:
    +0
    I believe holding the button while its locked is a normal function. Maybe the button is hit while in your pocket when you sit down or try to pick something up. It could be the type of pants you're wearing, because if they're fitted then its more likely that you're inadvertently hitting that button when you move around.
  4. munirg2003
    Offline

    munirg2003 New Member

    Joined:
    Jul 10, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Disabled power off menu on Atrix while asleep

    Sorry pool_shark its not a joke. I was shocked when my baby accidentally pushed power button while mobile asleep and switched my mobile off.

    So guys i have successfully disabled power off menu of Motorola Atrix 4G (MB860-Froyo)while asleep (screen off and locked) now power button only wakes mobile and does not show power menu.

    Use any file explorer with text file editor and go to /system/usr/keylayout/ -- where following files modified shown below. The flag of all POWER enteries changed from WAKE TO WAKE_DROPPED and restart mobile --- hurrrrrrah done: -

    cpcap-key.kl
    key 107 POWER WAKE_DROPPED

    evfwd.kl
    key 116 POWER WAKE_DROPPED

    qwerty.kl
    key 116 POWER WAKE_DROPPED


    usb_keyboard_102_en.us.kl
    key 116 POWER WAKE_DROPPED

    As a newbie i was really scared to do and apply this but thank to this forum who gave me courage to do something beneficial for all fellows.

    ENJOY-dancedroid
  5. zenkun
    Offline

    zenkun New Member

    Joined:
    Apr 25, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    new app to lock lockscreen menu

    Hi all i made an app to avoid this, blocking power menu on lockscreen no need of root working on 2.2+ and you can set up a custom menu (power and reboot need root) so you should take a look and if you like please leave a 5 stars, or let me know any issues
    this is only for lockscreen , when you are outside lockscreen you have the normal power menu ;)
    here its the link to play store
    https://play.google.com/store/apps/details?id=com.nezdroid.lockscreenprotector
Search tags for this page
android disable power button
,
android disable power button on lock screen
,

android disable power off when locked

,
android prevent shutdown
,
disable long press power button android
,

disable power button android

,
disable power button menu when phone is locked
,
how to lock power off on android
,
is there a way to turn off the lock button android
,

lock power button android