How do I lock the screen 'on-demand' through the power control widgets? - Moto X Q&A

I have the XT1053 phone which is rooted and has an unlock boot loader and gravitybox installed.. How do I screen lock my phone? I have it set to a pattern n to lock the screen after 30mins but is there an option or something I can add via gravity box or similar that will add a button to lock now when I expand my status bar buttons or something of that nature?
Pretty much I don't want to instantly lock right away but sometimes I want to

When you touch the power button, doesn't the screen turn off and display the lockscreen when you touch power again?

Groid said:
When you touch the power button, doesn't the screen turn off and display the lockscreen when you touch power again?
Click to expand...
Click to collapse
yea it does that which is great. But for example I'll give you a scenario
My current set up as of now: I have the pattern lock screen, which after i unlock will relock after 30min (current setup in default settings option).
Now lets say your at a place or around someone that you would want to lock the screen instantly instead of waiting 30min.
I would like a button where I can do that quickly instead of going to settings and changing the wait time before it locks again

Are you talking about the Settings > Display > Sleep > choose sleep time? For you that means the screen will sleep (display off) after 30 minutes. If you set the 'Automatically lock' to 'Immediately' that should also require your unlock pattern to be used when you touch the power button to turn on the screen. So touching the power button will turn off the display and lock the screen immediately which seems to be what you want. Touching the power button again will open to the locked lockscreen.

1dtms said:
yea it does that which is great. But for example I'll give you a scenario
My current set up as of now: I have the pattern lock screen, which after i unlock will relock after 30min (current setup in default settings option).
Now lets say your at a place or around someone that you would want to lock the screen instantly instead of waiting 30min.
I would like a button where I can do that quickly instead of going to settings and changing the wait time before it locks again
Click to expand...
Click to collapse
A post above suggested to instantly lock. Which in your case there's times when you want to quickly lock it and there's times that you might be doing something and that 30 mins before locking helps out. There is the moto skip that you can unlock with the NFC tag but I think its the same boat as setting the default lock. I haven't tried it myself but it seems that it unlocks the phone without having to input the pin then you just sleep the phone. I'll try it out and get back to you on the skip.
MOTO X

1dtms said:
yea it does that which is great. But for example I'll give you a scenario
My current set up as of now: I have the pattern lock screen, which after i unlock will relock after 30min (current setup in default settings option).
Now lets say your at a place or around someone that you would want to lock the screen instantly instead of waiting 30min.
I would like a button where I can do that quickly instead of going to settings and changing the wait time before it locks again
Click to expand...
Click to collapse
Try lock screen widget from the play store .

Doesn't Gravity Box have a setting to double tap the Status Bar for lock? I thought I saw it in there. Also, are you sure you have your phone set to go to sleep for 30 MINUTES and and not SECONDS? I think default is 30 SECONDS.

Related

[Q] ~ My lock Screen is gone ~

Today when i woke up my phones fine, then i go to check a text message and notice, it did not show the lock screen. I lock the phone and again no lock screen.
I then power off the phone and no luck then pulled the battery, still the same thing. i end up having to do a factory reset on then phone and well it working now.
I'm just afraid the it will happen again and wanted to know if any one has any information regarding this issue???
Thank you!!
-eXsoR
I noticed my lock screen would only sometimes show up. If you go into settings for the lockscreen you can set it to only show up every x minutes. Mine was set to 20. I've since changed it and now it's there everytime...
magicelf said:
I noticed my lock screen would only sometimes show up. If you go into settings for the lockscreen you can set it to only show up every x minutes. Mine was set to 20. I've since changed it and now it's there everytime...
Click to expand...
Click to collapse
Yeah mine was not working at all magicelf I can wait 5 mins then I hit the power button and it would go directly to my home screen and not showing any lock screen at all.
Sent from my DROID3 using XDA App
funny cause i thought the lock screen was over-sensitive. usually on d1/d2, if you hit the power button and then hit it again, the lock screen would not show up most of the time. like the screensaver on your desktop, if you respond fast enough, you won't have to unlock.
everytime i turn my screen off, i get the lock screen. so?
640k said:
funny cause i thought the lock screen was over-sensitive. usually on d1/d2, if you hit the power button and then hit it again, the lock screen would not show up most of the time. like the screensaver on your desktop, if you respond fast enough, you won't have to unlock.
everytime i turn my screen off, i get the lock screen. so?
Click to expand...
Click to collapse
640k yeah I know that, I also have a D1.
Lol im not a noob XD but for real it was not working.
Sent from my DROID3 using XDA App

[Q] Lock screen time

One thing I miss from my HTC is the option to have the lock code screen come in to action after a set time rather than instantly
is it possible to do this on the O2x with the without installing another app
It gets annoying having to enter the unlock code each time the screen goes off
would rather have it set to lock after 10 mins or so
waynefox said:
One thing I miss from my HTC is the option to have the lock code screen come in to action after a set time rather than instantly
is it possible to do this on the O2x with the without installing another app
It gets annoying having to enter the unlock code each time the screen goes off
would rather have it set to lock after 10 mins or so
Click to expand...
Click to collapse
You can change the lock screen delay (if this is what you meant) in the settings/display menu. You'll see the screen timeout setting there.
You should also post stuff like this in the Q and A section, not general.
What i'm after is for the phone to lock with a security code after a preset time. not every time the screen switches off
This is what happened with my HTC
Press power button to wake up screen
Swipe to unlock
Enter Unlock code
Phone unlocks
If you locked the phone and unlocked it again within a preset time, you didn't have to enter the unlock code
With the O2x you have to enter the unlock code every time you swipe to unlock
I know you can disable the security code completely but I don't want to do this

Screen off app but not lock?

I have been looking for an app that simply turns off the screen without locking the device. Can anyone provide a link? Thank you very much!
Sent from my XT1053 using Tapatalk 2
+1
Sent from my XT1053 using Tapatalk
When you say lock do you mean the slider or the PIN/Pattern lock?
If it's PIN/Pattern, there is a setting under security that says "automatically lock" and I think it defaults to something like 5 seconds. You can change it to a much higher number (a few minutes up to 30 or more). Changing this will cause the PIN/Pattern to become active only after the screen has been off for the consecutive number of minutes that you specify.
If it's a slide lock, you could use something like Tasker to enable to lock a set time after the screen goes off. There are also apps that can do it, but I've never used any of them. There's probably plenty, but this is the first one that came up in a Google search. https://play.google.com/store/apps/details?id=de.j4velin.delayedlock2&hl=en
fury683 said:
When you say lock do you mean the slider or the PIN/Pattern lock?
If it's PIN/Pattern, there is a setting under security that says "automatically lock" and I think it defaults to something like 5 seconds. You can change it to a much higher number (a few minutes up to 30 or more). Changing this will cause the PIN/Pattern to become active only after the screen has been off for the consecutive number of minutes that you specify.
If it's a slide lock, you could use something like Tasker to enable to lock a set time after the screen goes off. There are also apps that can do it, but I've never used any of them. There's probably plenty, but this is the first one that came up in a Google search. https://play.google.com/store/apps/details?id=de.j4velin.delayedlock2&hl=en
Click to expand...
Click to collapse
I used the pin lock and set it to lock after 10 minutes of screen off. When I use a screen off app to turn off screen, it turns off screen but also locks the phone immediately. But I want the app to only turn off the screen.
Sent from my XT1053 using Tapatalk 2
x2h said:
I used the pin lock and set it to lock after 10 minutes of screen off. When I use a screen off app to turn off screen, it turns off screen but also locks the phone immediately. But I want the app to only turn off the screen.
Sent from my XT1053 using Tapatalk 2
Click to expand...
Click to collapse
Is there a reason you don't just press the power button? Also, verify that the setting in security for "power button locks instantly" isn't checked. The app may be simulating the power button being pressed, which could lock instantly if that box is ticked.
Sounds to me like you just need to go to the security settings and turn screen lock to none?
That's how I run my phone. Active Display still runs and will come alive when you pick up the phone making you slide to "unlock", but pressing the power button will also dump you straight to your homescreen.
To get rid of that last "lock" when you disturb the phone you would have to uninstall Active Display.
fury683 said:
Is there a reason you don't just press the power button? Also, verify that the setting in security for "power button locks instantly" isn't checked. The app may be simulating the power button being pressed, which could lock instantly if that box is ticked.
Click to expand...
Click to collapse
Turning off screen is easier with app than the physical button. Yes I did not check the "power button locks instantly" but the screen off app still locks the phone right away.
Sent from my XT1053 using Tapatalk 2
deathsled said:
Sounds to me like you just need to go to the security settings and turn screen lock to none?
That's how I run my phone. Active Display still runs and will come alive when you pick up the phone making you slide to "unlock", but pressing the power button will also dump you straight to your homescreen.
To get rid of that last "lock" when you disturb the phone you would have to uninstall Active Display.
Click to expand...
Click to collapse
I could do that but then there is no security at all.
Sent from my XT1053 using Tapatalk 2

Phone not locking when screen times out

Hey everyone,
I encrypted my phone and installed MobileIron to get work email and calendar. Ended up removing it all and decrypting phone after a few weeks. Since then, my phone isn't locking when the screen times out. If can be sitting with a black screen, but soon as I touch the home button it's awake and ready for action. It seems to lock eventually after sitting for an indeterminate amount of time.
Where the heck is the setting to control how long the phone waits before locking (requiring swipe or pin, not just turning off screen)? I know when I had the phone encrypted I found it and changed it to like 15 minutes so I didn't have to enter my 8 digit pin every couple of minutes, but now that its decrypted I am either blind or that setting is gone....
Thanks in advance.
UnexplainedBacon said:
Hey everyone,
I encrypted my phone and installed MobileIron to get work email and calendar. Ended up removing it all and decrypting phone after a few weeks. Since then, my phone isn't locking when the screen times out. If can be sitting with a black screen, but soon as I touch the home button it's awake and ready for action. It seems to lock eventually after sitting for an indeterminate amount of time.
Where the heck is the setting to control how long the phone waits before locking (requiring swipe or pin, not just turning off screen)? I know when I had the phone encrypted I found it and changed it to like 15 minutes so I didn't have to enter my 8 digit pin every couple of minutes, but now that its decrypted I am either blind or that setting is gone....
Thanks in advance.
Click to expand...
Click to collapse
First thing is to go to settings > lockscreen > screen lock and change it to pin or swipe or something other than swipe until your device recognizes when you've locked it. If it starts locking with the pin engaged go back and turn it to swipe and see if it locks on its own again. Second I imagine that it locks when you press the power button to turn the screen off? Set your screen timeout to an obscenely high number so that you remember and get in the habit of locking the device by pressing the power button. This is just for habit because Android (the base system) engages the lockscreen when the power button is pressed and the screen is on. If you are running a custom ROM you could dirty flash to put system settings back to default and if you are on stock out of the box you may have to factory reset to get settings back to their default state. I know that last one is less than optimal, but if the first two options (changing the lockscreen type and locking manually) are not a good work around then you will either have to do the encryption routine again to see if it fixes it and if it doesn't then you may have to factory reset.

Automatically lock & Power button instantly locks

So I'm on stock 6.0.1 with root. Has anyone been able to set "Automatically lock" to something like 30 minutes and actually have their phone obey? If I set it to 30 minutes and disable "Power button instantly locks", the phone still locks after a few seconds and I have to re-enter my pattern.
Just tried it and for me it works as expected.
Have you tried turning it off and on again?
Edit: I'm also on rooted stock 6.0.1.
I think I found the issue. I've been using the double tap shortcut in Nova Launcher to lock the screen and put the phone to sleep. This bypasses any lockscreen delay you have set or any Smart Lock devices you may have paired. So, unfortunately, you can't use any third party apps to put your phone to sleep if you want to use Smart Lock or lock screen delays.

Categories

Resources