Post Reply

[APP][4.0+] Pocket Lock - Dump your power button! Automates locking and unlocking

OP PaeP3nguin

Announcement from PaeP3nguin: Pocket Lock 2.0 released
29th August 2014, 04:22 AM   |  #1  
OP Member
Thanks Meter: 28
 
63 posts
Join Date:Joined: Apr 2013
Donate to Me
More


Pocket Lock

Dump your power button! Pocket Lock automates locking and unlocking for you.
Download Pocket Lock on the Play Store

Featured on Lifehacker! - "Pocket Lock actually works exactly as advertised, with no fuss, and that's what makes it such a cool app to have."

Pocket Lock intelligently locks and unlocks your phone for you. Choose from three different locking modes: proximity sensor only, gravity sensor only, and a fusion of both sensors. Just drop your phone in your pocket and it locks. Take it out and it unlocks. Pocket Lock is great for phones with broken power buttons or flip cases.

Pocket Lock is easy to set-up and forget, since it starts automatically on boot, but it also offers advanced customization options. The app is completely free and has no ads. If you have any questions, comments, or concerns, use the Send feedback option in the app to email me directly.

Screenshots:
Quote:




[IMGhttps://lh6.ggpht.com/rE9Bms28mQjg8CeZVcBaS3YvBtWNWzuPAUnDxQh1oi_moV6T4L Lfvxq7l_E8tQStFQ=h900-rw[/IMG]

Features:
* Intelligently locks your phone using the proximity and gravity sensor
* Works out of the box
* Intuitive options allow for easy customization
* Keeps your phone off when in your pocket. No more pocket pictures!
* Exclude applications
* Option to only lock or unlock your phone, great for Moto X Active Display
* Disable during phone calls
* Disable when screen is rotated

Notes:
Put your phone in your pocket upside down and with screen facing you for best results.
To uninstall, use the uninstall option in the app menu.

XDA:DevDB Information
Pocket Lock, App for all devices (see above for details)

Contributors
PaeP3nguin

Version Information
Status: Stable
Current Stable Version: 2.0
Stable Release Date: 2014-09-12

Created 2014-08-29
Last Updated 2014-09-13
Attached Thumbnails
Click image for larger version

Name:	DumpPower Button.png
Views:	1174
Size:	138.7 KB
ID:	2916341   Click image for larger version

Name:	UpsideDown.png
Views:	1140
Size:	137.5 KB
ID:	2916342   Click image for larger version

Name:	WaveHand.png
Views:	1150
Size:	90.1 KB
ID:	2916343   Click image for larger version

Name:	2014-08-03 03.03.23.png
Views:	1101
Size:	144.8 KB
ID:	2916344   Click image for larger version

Name:	Settings screenshot 1.png
Views:	1113
Size:	113.4 KB
ID:	2918977  

Click image for larger version

Name:	Settings Screenshot 2.png
Views:	1069
Size:	120.3 KB
ID:	2918978  
The Following 14 Users Say Thank You to PaeP3nguin For This Useful Post: [ View ]
29th August 2014, 04:22 AM   |  #2  
OP Member
Thanks Meter: 28
 
63 posts
Join Date:Joined: Apr 2013
Donate to Me
More
Reserved
FAQs:
Help, my phone keeps locking and I can't use it!
First, try turning your phone upside down and unlocking it. If that works, then you have an issue with your gravity sensor. If that doesn't work, them you have may an issue with your proximity sensor. Restart the phone and quickly open Pocket Lock and change the locking method to "Do not lock", then let me know!

How do I uninstall Pocket Lock?
Use the uninstall option in the Pocket Lock menu.

Why does my phone turn off when I'm using it?
This is likely because the proximity sensor is accidentally getting covered. Try setting the lock delay higher and be careful to avoid the proximity sensor with your fingers. If this still does not work, just change the lock method to not use the proximity sensor at all, which should eliminate the problem entirely.

Why doesn't Pocket Lock unlock my phone?
The Android operating system will slow down the rate of sensor events or even stop sensors when the screen is off in order to save power. While this is great for your battery life, this means that if your phone has been off for a while, Pocket Lock may not wake it up immediately. I have noticed that the proximity sensor seems less prone to this problem than the other sensors, so try covering and then uncovering the proximity sensor.

Why does Pocket Lock use so much battery?
Pocket Lock has to keep your phone's sensors on in order to lock and unlock the screen. Some sensor use more power than others, which will in turn use more battery. Check the Diagnostics page and look at the value for Proximity sensor power usage and Gravity sensor power usage. Change your lock method to only use whichever sensor has the lower value. Consider trying the accelerometer to save battery.

Why does my phone turn off in the dark?
That's your phone manufacturer cheaping out by not using a quality proximity sensor! I would suggest changing your lock method to not use the proximity sensor.

What if I only want Pocket Lock to lock/unlock my phone?
In the lock method setting, you can change the locking sensor or unlocking sensor to "Do not lock" or "Do not unlock"

What apps are Pocket Lock incompatible with?
Pocket Lock may not play well with apps like No Lock, SkipLock, custom locks creens, or anything that messes with the lock screen or how the phone locks. Pocket Lock should not cause problems for other apps, though, because it's nice

Why does Pocket Lock need the permission "Device ID & call information: read phone status and identity"?
This is so that Pocket Lock can detect when you're in a call and not lock your phone.
Last edited by PaeP3nguin; 11th October 2014 at 01:11 AM.
29th August 2014, 04:30 AM   |  #3  
OP Member
Thanks Meter: 28
 
63 posts
Join Date:Joined: Apr 2013
Donate to Me
More
Reserved
Upcoming features:
  • Battery analysis: helps you customize settings to use the least amount of battery

Beta downloads:
  • None at the moment
Last edited by PaeP3nguin; 13th September 2014 at 05:54 AM.
The Following User Says Thank You to PaeP3nguin For This Useful Post: [ View ]
29th August 2014, 05:38 AM   |  #4  
ahrion's Avatar
Senior Member
Thanks Meter: 244
 
713 posts
Join Date:Joined: Jul 2013
Add an Active Screen based element. IE enable unlock method on notifications for a set amount of time. Also Pocket Mode (notifications turn screen on unless in the pocket). User could configure ongoing and low priority?

Last but not least: Blacklist
29th August 2014, 05:53 AM   |  #5  
OP Member
Thanks Meter: 28
 
63 posts
Join Date:Joined: Apr 2013
Donate to Me
More
Quote:
Originally Posted by ahrion

Add an Active Screen based element. IE enable unlock method on notifications for a set amount of time. Also Pocket Mode (notifications turn screen on unless in the pocket). User could configure ongoing and low priority?

Last but not least: Blacklist

Thanks for the suggestions! The blacklist is definitely on the to do list, though I want to make sure the basic functionality works well before starting on that. Pocket Mode is something I hadn't thought of that I'll have to look into. Right now, the app will relock the screen if a notification turns it on, though. Active screen is a cool idea, but I'm not sure if Pocket Lock's purpose warrants adding something like that. I believe there are already pretty good apps for that and Pocket Lock plays well with them. You can set Pocket Lock to just lock the screen and then those apps can unlock when they need to.
29th August 2014, 10:52 AM   |  #6  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Jan 2014
Must enter patern after every unlock?
This app sleeps and wakes display fine. However on every wake I must enter my pattern to unlock it. Is this by design?
29th August 2014, 03:35 PM   |  #7  
OP Member
Thanks Meter: 28
 
63 posts
Join Date:Joined: Apr 2013
Donate to Me
More
Quote:
Originally Posted by whomiketodd

This app sleeps and wakes display fine. However on every wake I must enter my pattern to unlock it. Is this by design?

Right now, that is how it works, yes. Eventually I will add some sort of delayed lock, like Android has naively, but for now, this most closely stimulates pushing the power button. If I just turn off the screen instead of locking the screen, Android may not enter a low power state. Thanks for using Pocket Lock!
29th August 2014, 05:57 PM   |  #8  
12gage's Avatar
Senior Member
Flag Albany, OR
Thanks Meter: 136
 
1,195 posts
Join Date:Joined: Sep 2007
More
Does this cause wakelocks to keep the screen active? How bad is it for battery life?
29th August 2014, 06:04 PM   |  #9  
OP Member
Thanks Meter: 28
 
63 posts
Join Date:Joined: Apr 2013
Donate to Me
More
Quote:
Originally Posted by 12gage

Does this cause wakelocks to keep the screen active? How bad is it for battery life?

Pocket Lock does not use any wakelocks when the screen is on and only very briefly uses a wake lock when unlocking the screen (probably under 100ms). The biggest concern in terms of battery life is how much power your phone's sensors use. Generally, proximity sensor use less power, so if you're worried about power usage, change your lock method to only use the proximity sensor.

You can also check how many milliamps your sensors use on the Diagnostics page in the app.
The Following User Says Thank You to PaeP3nguin For This Useful Post: [ View ]
30th August 2014, 03:12 AM   |  #10  
Senior Member
Thanks Meter: 36
 
170 posts
Join Date:Joined: May 2014
Working great mate, I will be running it to see how well it works for my uses. Previously I lost my power button on my s3, since then I have been using a gestures to lock. With the home button being my goto button, well I would hate to lose it!

Hopefully this will be battery friendly and efficient for my uses. Thanks mate!

Sent from my SAMSUNG-SM-G900A using XDA Free mobile app

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android Apps and Games by ThreadRank