Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I press the power button on my Galaxy Nexus to turn off the screen, it immediately locks the phone, and I have to enter my code the next time I turn the screen back on. However, if I let the screen timeout and turn itself off, I don't have to enter my code when I turn it back on.

This is highly annoying. I'd prefer the device to only lock after a period of inactivity. What's the best way to make that happen?

share|improve this question
You may want to take a closer look at the settings of your Nexus. Some devices offer different settings for delays of turning device-lock on ("Timeout"). Especially if you're running a CustomROM, chances are good (e.g. CyanogenMod offers these options). As they are always at different places, it's hard to say where to look: security is a likely place, and with CM it's in the CyanogenMod submenu. – Izzy Aug 14 '12 at 15:55

Stock ICS and Jelly Bean already support this option. Go to Settings > Security and uncheck the Power button instantly locks option. Now, your phone will lock only after the desired period of inactivity.

Note, you may have to set the Automatically lock option to something other than "Instantly" in order to get the delayed lock.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.