Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

i'm looking for a way where i can use the power button to turn off the screen and activate the swipe lock. If the phone is left untouched/unswiped for 10 mins the password lock should come on.

There is one difference between this and similar posts i have seen, my Phone is encrypted so i cannot turn off the password as part of the method of doing this.

At the moment the power button turns off the screen but can be unlocked at the push of any button which often results in unintended phone calls in my pocket, after a certain amount of time left untouched the password lock kicks in.

I've heard an app called Tasker can do something like this, will it also work with encrypted devices?

All i would need it to do is activate a swipe lock on pressing of the power button

Thanks

share|improve this question

1 Answer 1

up vote 0 down vote accepted

You are correct: an app called Tasker can do this. The feature you want to turn off/delay is called Keyguard: turning this off disables the password/PIN lock screen. So you could setup a task turning that off on the condition the screen is turned off, then wait 10 min, and re-activate it again.

Additionally, you might want to take a look at the Secure Settings addon for Tasker, which gives you some more fine-grained options towards this (and plenty of other benefits). Using this addon, you could e.g. have your device require the PIN/password unlock only once, and then not asking for it anymore (useful e.g. at home).

share|improve this answer

Your Answer

 
discard

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.