FORUMS

What Do You Think About Fingerprint Scanners?

More and more phones are featuring fingerprint scanners, and with many promising … more

What’s Next for Samsung and Its Flagships?

If we were to say that the Galaxy S6 was a leap of faith made by Samsung, we … more

The Ultimate Showcase of dBrand Skins

In the search for ways to protect, accessorize, and personalize; a user has many options. One … more

Huawei’s Rapid Rise to Third Place in the Smartphone Race

Huawei has quickly grown to become one of the world’s biggest … more

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

67 posts
Thanks Meter: 46
 
By PaeP3nguin, Member on 29th August 2014, 04:22 AM
Post Reply Subscribe to Thread Email Thread
Announcement from PaeP3nguin: Pocket Lock 2.2 released


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.2
Stable Release Date: 2015-04-09

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

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

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

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

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

Name:	Settings screenshot 1.png
Views:	2317
Size:	113.4 KB
ID:	2918977   Click image for larger version

Name:	Settings Screenshot 2.png
Views:	2254
Size:	120.3 KB
ID:	2918978  
The Following 21 Users Say Thank You to PaeP3nguin For This Useful Post: [ View ]
 
 
29th August 2014, 04:22 AM |#2  
OP Member
Thanks Meter: 46
 
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.

Excluded applications doesn't work!
Recent versions of Android broke the original way Pocket Lock detected what application was running. A fix has been added in the Pocket Lock settings. Simply check "Excluded apps fix" to make excluded applications work again.

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 lock screens, 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

How can I make Pocket Lock work with delayed lock/smart lock/custom lock screens?
Enable the "Alternate screen off method" setting. Note that the screen may now take a few seconds to turn off.

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.

Why does Pocket Lock need the permission to modify system settings?
This is only used if you use the Alternate screen off method. Instead of force-locking your screen, Pocket Lock simply changes your screen timeout to zero, then back to your original setting after locking.
Last edited by PaeP3nguin; 9th April 2015 at 07:49 PM.
The Following 4 Users Say Thank You to PaeP3nguin For This Useful Post: [ View ]
29th August 2014, 04:30 AM |#3  
OP Member
Thanks Meter: 46
 
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 2 Users Say Thank You to PaeP3nguin For This Useful Post: [ View ]
29th August 2014, 05:38 AM |#4  
ahrion's Avatar
Senior Member
Thanks Meter: 928
 
More
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: 46
 
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.
The Following User Says Thank You to PaeP3nguin For This Useful Post: [ View ]
29th August 2014, 10:52 AM |#6  
Junior Member
Thanks Meter: 1
 
More
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: 46
 
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: 168
 
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: 46
 
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: 56
 
More
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
30th August 2014, 03:14 AM |#11  
OP Member
Thanks Meter: 46
 
Donate to Me
More
Quote:
Originally Posted by kalans

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

Hey, great to hear! If you go to the Diagnostics page in the app and tell me the values for Proximity sensor power usage and Gravity sensor power usage, I can give you an estimate of how much power the app uses and what combination of sensors will use the least power.

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

Advanced Search
Display Modes