Related
I would like to disable the ability to disable the GPS in the phones for use with an "invisible fence" app.
I don't care if the toggle in the notification area goes off or on, but I would like the phone to enable GPS on bootup, and just keep it on regardless.
Any ideas?
Why would you want it to stay on? It is a huge battery hog.
voldomart13 said:
Why would you want it to stay on? It is a huge battery hog.
Click to expand...
Click to collapse
mrcpu said:
I would like to disable the ability to disable the GPS in the phones for use with an "invisible fence" app.
Click to expand...
Click to collapse
I think I was pretty clear in the original post.
WTF is an invisible fence app??
and any app that requires GPS, will use GPS as needed. OLD Facebook app version for example, as long as it was on your screen, GPS was constantly locking. But it would kill the battery in less than 2 hours from full charge. so the facebook app changed the gps to lock once every so often, while the app is open on screen.
Other apps run a background service to access GPS at a set or random interval. Google Latitude for example. Not on screen, but will check-in or update location when-ever.
As you see the APP needs to have the set permissions, and options selected.
and in the end. your battery is dead in 2 hours with what you *think* you want
TRusselo said:
WTF is an invisible fence app??
and any app that requires GPS, will use GPS as needed. OLD Facebook app version for example, as long as it was on your screen, GPS was constantly locking. But it would kill the battery in less than 2 hours from full charge. so the facebook app changed the gps to lock once every so often, while the app is open on screen.
Other apps run a background service to access GPS at a set or random interval. Google Latitude for example. Not on screen, but will check-in or update location when-ever.
As you see the APP needs to have the set permissions, and options selected.
and in the end. your battery is dead in 2 hours with what you *think* you want
Click to expand...
Click to collapse
This is not correct. (at least on the apex rom I'm running).
If you turn off the GPS in settings (not using the toggle on the notification bar), then fire up google maps, the first thing it does is tell you that not all the options for locating the user are turned on, and to go to settings and turn on GPS.
I recall reading somewhere that Google disabled the ability for apps to turn the GPS on and off. They could query it if it was enabled, but couldn't turn it on if it was off.
If the user can turn it off in settings, then that defeats the purpose. I want the GPS on all the time, regardless of settings.
I don't care about battery life, I have 4 captivates in this house, I am well aware of their capabilities and limitations. And I don't really care if you think it's a good idea or not, all I'm asking is if anybody knows of a way.
there is a difference between switching GPS "on" and having GPS activated or locking signal.
in the android settings or with any toogle app, you can turn GPS on or off.
I have it ON 24/7, I bet you do too.
you turn GPS "on", so apps CAN use/activate it if they try to.
you turn GPS "off" to prevent apps from using it, thus reducing battery drain and increasing security.
having GPS on 24/7 doesn't do crap to battery, it depends on the apps, and how they are programmed to use GPS, and if they were programmed to work like you want, they would work like I SAID.
there have been apps that used GPS like you suggested. THEY GOT FIXED. you really dont understand how fast it drains the battery.
and i dont mean to offend, but you also dont understand how the apps interact with the GPS.
Originally Posted by mrcpu
I would like to disable the ability to disable the GPS in the phones for use with an "invisible fence" app.
I think I was pretty clear in the original post.
Click to expand...
Click to collapse
No. You weren't, WHAT THE FRICK an invisible fence app? and how does using the LARGE font help?
house full of captivates? did your dad get a family plan?
[UPDATE]
Hi guys, after my account was banned from Play Store, I decided to move all apps on Amazon App Shop for free. :good:
Here you can download last version of Smart Screen OFF PRO.
Smart Screen OFF PRO
http://www.amazon.com/gp/product/B014TKA9VQ
I'll add other apps I developed in the next few weeks.
Download Smart screen off PRO User Guide
DESCRIPTION
Smart Screen Off it's a simple and light app which uses the Proximity Sensor built in your Android smartphone to turn the screen off and on automatically
REASON
I decided to code this app when I bought my Galaxy Nexus: this device doesn't have any physical button on the front screen. Being a quite huge phone, it's quite difficult to press the "turn off" button every time I wanted to turn it off and on. So I needed a way to turn the screen off every time I put it into the pockets and off when removed.
HOW IT WORKS
The app itself is a toggle button, to switch it on just press the App Icon. Then every time you put the phone into your pockets the screen turns off.
If you put the smartphone upside down on the table, the screen turns automatically off.
NOTE: It doesn't lock the screen (just like in a call)
REQUIREMENTS
In order to use Smart Screen Off, you need to have a phone with Proximity Sensor (nowadays every smartphone incorporates one).
Nice APP
Even though I don't need this app...(I prefer manually clicking),
it seems really useful for whom use flip cases.
Such as "planner styled" Galaxy Note
Just installed and it does what it promises. Will be useful for me when at the gym I want to skip songs, I won´t have to unlock the phone a hundred times. Obviously the proximity sensor will be working all the time, did you notice a significant battery drain?. And the app name in the spanish version of the market is badly translated. It says "Fuera de pantalla inteligente" where it should say "Apagado de pantalla inteligente".
This is like screebl?
Good app, great idea. I think you should not only use proximity sensor, but things like orientation. I probably wont use this just because it doesn't seem too useful... I sometimes have my hand on top of my phone (near the sensor) and a finger movement can just keep making it blink on and off etc. Use orientation with this, it'd be better.
GREAT APP!
Works flawlessly, thanks alot.
Just installed V1.1 free from the market and it's a bit too sensitive! I hold my phone in my right hand and when I curl my hand over to touch or make gestures on the screen, the display turns off. Is there any way to adjust the sensitivity? I'm running on a Galaxy Nexus running GummyNex 0.7.6 based on AOSP 4.0.3.
UI is useless for lite so remove it, and as long as it has a notification in status bar i will not use this app, can i get v1 back!
2/5 stars
also in v1.2 there is NO way to turn it off :/
Sent from my VS910 4G using xda premium
check this
https://market.android.com/details?id=com.itsme4ucz.screenoff&feature=search_result
Also quit good..using it allready more than a year
so the phone won't go into sleep if I use it, right?
liljom said:
so the phone won't go into sleep if I use it, right?
Click to expand...
Click to collapse
It won't go sleep, the device screen will only turn off and on
Nice application.
possible to make it work on galaxy tab? it doesnt have a proximity sensor but i believe it has a light sensor and magnatron. maybe make it detect a strong magnetic source to turn it on or off?
Night mode?
Sent from my SGH-T839 using XDA App
Vilcek said:
check this
https://market.android.com/details?id=com.itsme4ucz.screenoff&feature=search_result
Also quit good..using it allready more than a year
Click to expand...
Click to collapse
Proximity Screen Off never worked properly for me on the HD2 with several different versions of Android (both Honeycomb and ICS). It was quite prone to locking up my phone with the display off and locked.
Can you not trigger it to go to deep sleep. Screen should lock, that would be more appropriate imo.
If u turn off the display only,will deep sleep work?
EDIT:Saw the post up^^
akromatic said:
possible to make it work on galaxy tab? it doesnt have a proximity sensor but i believe it has a light sensor and magnatron. maybe make it detect a strong magnetic source to turn it on or off?
Click to expand...
Click to collapse
This one should work on Galaxy tab
https://market.android.com/details?id=com.itsme4ucz.screenoff&feature=search_result
Sent from my Galaxy Nexus using XDA App
thanks i will try it
Finally got my app up and running on the Market and being a die hard xda user, I thought it would only be appropriate to post it here for fellow users to enjoy. =)
IntelliCover is a utility which uses your device’s proximity sensor to control its display and allow fast and efficient access to your phone or tablet.
It turns the screen turns off automatically when you put your device in your pockets, close its flip cover, store the device in a bag, or even just leave the device facing down on a table. As soon as the device is back in your hand the proximity sensor is triggered again, the screen turns back on and your phone is instantly ready for use.
IntelliCover is more feature-filled than any other similar application on the market. And the best part? It's FREE!
Click here to visit the market page and download the app for free
P.S. If you find a bug, I'd appreciate if you could report it to me before giving a bad rating because it usually only takes me less than a day to fix.
*** Features ***
Calibration:-
Proximity Sensor Delay – Add a delay to the time takes to trigger the sensor and turn the screen off.
Application Settings:-
Automatic Unlock – Automatically dismiss the Unlock Screen, provided there is no password. *Experimental*
Disable in Landscape Mode – Disable the proximity sensor when an application is in landscape mode.
Go to Home Screen – Show the home screen when the screen turns on.
Screen Off Only – The screen will turn off but not on when the proximity sensor is triggered.
Screen On Only – The screen will turn on but not off when the proximity sensor is triggered.
Start on Boot – Automatically start the IntelliCover service when the device turns on.
Notifications:-
Proximity Warning – Vibrate every time the proximity sensor is triggered.
Status Bar Notification – Show an ongoing notification in the status bar.
Screen On and Off Actions:-
Airplane Mode – Enable or disable airplane mode.
Auto Rotate (will be removed) – Activate or deactivate.
Auto Sync – Activate or deactivate auto-sync.
Bluetooth – Enable or disable Bluetooth.
Haptic Feedback (will be removed) – Activate or deactivate haptic feedback.
Ringer Mode – Switch ringer mode to Normal (Sound with Vibration), Vibrate or Silent.
Wi-fi – Enable or disable wi-fi.
*** Frequently Asked Questions ***
Q) Is it really free? Where are the ads?
Ans) IntelliCover is completely free and has no ads whatsoever!
Q) Do I require a rooted device to use IntelliCover?
Ans) Nope. IntelliCover works on all supported phones and tablets, rooted or unrooted.
Q) Doesn’t using the proximity sensor consume a lot of battery?
Ans) Actually, the proximity sensor consumes minimal power, almost little enough to be insignificant.
Q) What are the ‘Screen On’ and ‘Screen Off’ actions?
Ans) IntelliCover allows you to set events to be triggered when the screen turn on or off. For example, by setting wi-fi to turn on when your screen turns on and setting it to turn off when the screen turns off, you could save a huge amount of battery power.
Q) Can I request a feature?
Ans) Of course! Head over to the Contact section to drop me an e-mail.
Q) Why does IntelliCover keep running in the background?
Ans) It has to run in the background to know when the proximity sensor is triggered.
Q) Can I donate to the developer?
Ans) Not yet but hopefully I’ll have something set up soon.
*** Permissions Required ***
INTERNET - Required for error logging (to send crash reports)
WAKE_LOCK - Required to unlock screen
WRITE_SETTINGS - Required to toggle ringer mode
VIBRATE - Required to vibrate phone
RECEIVE_BOOT_COMPLETED - Required to detect phone boot
WRITE_SYNC_SETTINGS - Required to toggle autosync
READ_SYNC_SETTINGS - Required to toggle autosync
BLUETOOTH - Required to toggle bluetooth
BLUETOOTH_ADMIN - Required to toggle bluetooth
ACCESS_WIFI_STATE - Required to toggle WiFi
UPDATE_DEVICE_STATS - Required to toggle WiFi
CHANGE_WIFI_STATE - Required to toggle WiFi
*** Contact ***
Feel free to contact me at [email protected] with any issues, bug reports, feature requests, suggestions or queries. Please read the FAQ above before sending an e-mail to avoid redundancy.
Click here to visit the market page and download the app for free
Hello! I love the app! I just installed it, and it works great so far keep up your good work!
Sent from my HTC Sensation Z710e using xda premium
Seems good, some questions though.
1. Is it supposed to be able to turn the screen on? Take phone out of pocket, proximity sensor detects values that indicate there's nothing near (Sorry, dunno how / what values are calculated / used) and viola, screen on?
2. Dunno if I've set it up incorrectly. But, currently, if I turn on my screen, via the power button (Sony Xperia S), the stock lockscreen will show, and either one of two things will happen. Either I unlock it successfully, and the split second I'm completing the unlock, the phone will screen off, and engage the lockscreen - after unlocking this, can I get into my phone. OR it'll do what I've previously mentioned, without input.
timmy-kidd said:
Hello! I love the app! I just installed it, and it works great so far keep up your good work!
Sent from my HTC Sensation Z710e using xda premium
Click to expand...
Click to collapse
Thanks! Glad you liked it! =)
Profool said:
Seems good, some questions though.
1. Is it supposed to be able to turn the screen on? Take phone out of pocket, proximity sensor detects values that indicate there's nothing near (Sorry, dunno how / what values are calculated / used) and viola, screen on?
2. Dunno if I've set it up incorrectly. But, currently, if I turn on my screen, via the power button (Sony Xperia S), the stock lockscreen will show, and either one of two things will happen. Either I unlock it successfully, and the split second I'm completing the unlock, the phone will screen off, and engage the lockscreen - after unlocking this, can I get into my phone. OR it'll do what I've previously mentioned, without input.
Click to expand...
Click to collapse
Yup, it turns the screen on as well. The values are pretty much just FAR and NEAR for most proximity sensors, so once it detects that there's no object close to it, it should turn the screen on. If it's not turning on at all, that might be the root of the problem i.e. it might be causing the unlock issue as well...Hmmm...I checked out your phone specs and since you said "stock lockscreen", I think it's safe to assume you're on the stock ROM but are you still on Gingerbread? If so, that partially explains the issue. Some Gingerbread ROMs have compatibility issues with the app that are very similar to what you've described, I have no idea why but I'm still looking into it. I had to fix ALOT of Gingerbread issues to get it working this far lol. If you're not on GB though, I guess I need to hunt for an Xperia and begin testing/debuggin. :fingers-crossed:
HUGE update released! V2.0 Hope you all like it. =)
Thanks a lot for sharing your app, it looks grate but unfortunately it is not working with my Galaxy note 10.1
Sent from my GT-N8000 using XDA Premium HD app
I like it! Works fine in my SII stock rom. It will be perfect if i could enable a sound notification when turns off the screen. Not really necessary but cool 4 me (car unlock beep-beep)
Thanks mate!
Frank
thanks for the update
working good.
I'm working on adding a widget and changing the design, but if anyone has any better suggestions, I'd love to hear them because design is not as important as functionality.
Love it. great app, and working fine on both my LG Optimus 3D and Samsung Galaxy Note II.
could we have a choice on the notification icon, would be nice to have a small black dot or something. i just like a empty notification bar but understand the need for it to actually be in the notification bar
thanks
other than that this is my fav ap on my phone
won't this drain battery
mikeschevelle said:
could we have a choice on the notification icon, would be nice to have a small black dot or something. i just like a empty notification bar but understand the need for it to actually be in the notification bar
thanks
other than that this is my fav ap on my phone
Click to expand...
Click to collapse
Yea, it's unfortunate that foregrounding requires the notification icon. You could try using the app without foregrounding, it works for some people. Adding more notification icons should be easy, won't take much time. =) Which ones do you think I should add? A small black dot would disappear on most black status bars (but it'll look like there's an empty space in the status bar so it'll look a little weird)...
skyrocketeer said:
won't this drain battery
Click to expand...
Click to collapse
The proximity sensor uses very little battery and the app itself is pretty light (4-5MB RAM). So far I've only gotten one deep sleep complaint out of 3500+ downloads but no battery issues.
im fine with the black dot, it will keep my bar looking empty
mikeschevelle said:
im fine with the black dot, it will keep my bar looking empty
Click to expand...
Click to collapse
Finally! Found a way to completely remove the icon and the notification from the status bar when the app is foregrounded. It'll be in the next update (today or tomorrow). It can still be enabled manually from the Notifications section but yea, enjoy the emptiness of your status bar. xP
Pretty Huge Update. Hope you like it!
Version 3.0
-Added Screen On Fix for some phones (Enable in settings)
-Status Bar Notification/Icon will no longer automatically show up when app is foregrounded.
-Added Pocket Mode
-Added Table Mode
-Added Widget
-Fixed Screen On/Off Actions bug
One thing I notice (which is NO WHERE CLOSE to a big deal)
The launcher I use (Nova) I hide the status bar and use a gesture to bring it down. When ever Intellicover turns the screen on, the status quickly shows itself and then goes back hidden, not more than a half second of this, but I cannot select anything on the screen until after that status bar thing happens
I like the concept of the app, and it works fine with my sensors. I have one complaint though, I don't like how when the phone screen turns on, it opens to the Intellicover App. Sure I can set it to go to the home screen, but I don't always want that. Once Intellicover is running, I don't want to ever see it again unless I manually launch it from the app drawer. If I have Chrome open and I have to suddenly put my phone down or in my pocket, I'd like to pull my phone back out and have Chrome still be on the screen, just like happens now using the sleep button.
Turns my dumb flip cover on my note 2 into a smart cover. Thanks
Sent from my SPH-L900 using xda premium
garfnodie said:
I like the concept of the app, and it works fine with my sensors. I have one complaint though, I don't like how when the phone screen turns on, it opens to the Intellicover App. Sure I can set it to go to the home screen, but I don't always want that. Once Intellicover is running, I don't want to ever see it again unless I manually launch it from the app drawer. If I have Chrome open and I have to suddenly put my phone down or in my pocket, I'd like to pull my phone back out and have Chrome still be on the screen, just like happens now using the sleep button.
Click to expand...
Click to collapse
Actually, that shouldn't be happening. Once set you never have to see it again. I'm not quite sure what could be triggering this but if you could provide a little information about the OS/phone model/etc. I could try to get a hold on the device and try to replicate the error...
Double post, Please ignore
hi, guys.
"wake my android pro" is an app that turns on the screen for 500ms every T period, where T is user defined. Problem is i am worried about screen wearing too soon, with all those fire ups.
Next choice is never turning the screen off. That's another component spending its life. I would rather avoid it.
"Regpon" is another app. It keeps wifi working with a wifi wakelock, less than a partial wakelock it seems. Then, anything nit concerning wifi is beyond it. I have tried it but it doesn't sarisfy my need
There is another app, whose name isn't coming to me right now. wakelockcontrol, maybe. It supposedly employs a wake lock. The user would be able to pick the depth of the wakelock. Unfotunately, it achieves even less than regpon in my device.
Finally, if you can point me to a standalone screen on switch, I'll work with that. In other words, a simple app that I can execute programatically with llama or automateit and which only turns the screen on with one tap
ty.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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:
[IMGhttps://lh6.ggpht.com/rE9Bms28mQjg8CeZVcBaS3YvBtWNWzuPAUnDxQh1oi_moV6T4LLfvxq7l_E8tQStFQ=h900-rw[/IMG]
Click to expand...
Click to collapse
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.4.8
Stable Release Date: 2017-08-20
Created 2014-08-29
Last Updated 2017-08-20
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. Please try out excluding at least one app before buying pro If you've bought pro and excluded apps doesn't work, forward your order confirmation to [email protected] and I'll refund you.
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.
Reserved
Privacy policy:
Pocket Lock does not store or transmit any of your data. Pocket Lock doesn't even access the internet. Pocket Lock only records one statistic: the number of times it has locked or unlocked your phone. The only way this is used is to display to you in the app.
Upcoming features:
Battery analysis: helps you customize settings to use the least amount of battery
Beta downloads:
None at the moment
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
ahrion said:
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
Click to expand...
Click to collapse
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.
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?
whomiketodd said:
This app sleeps and wakes display fine. However on every wake I must enter my pattern to unlock it. Is this by design?
Click to expand...
Click to collapse
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!
Does this cause wakelocks to keep the screen active? How bad is it for battery life?
12gage said:
Does this cause wakelocks to keep the screen active? How bad is it for battery life?
Click to expand...
Click to collapse
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.
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
kalans said:
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
Click to expand...
Click to collapse
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.
Just uploaded the latest update onto the Google Play Store! Let me know what features you'd like to see in the next update. Right now, I'm thinking I'll add the option to use the accelerometer instead of the gravity sensor (saves power), and the option to change the proximity sensor sampling rate.
I tried your app yesterday and while it locked the phone just as expected when I put it in my pocket it took very long (about 2 seconds) to turn on the screen when I took it out of the pocket. I changed the turn on time to very low value (20ms) but that didn't change anything. Will see what the new update brings and if that changes anything.
adl said:
I tried your app yesterday and while it locked the phone just as expected when I put it in my pocket it took very long (about 2 seconds) to turn on the screen when I took it out of the pocket. I changed the turn on time to very low value (20ms) but that didn't change anything. Will see what the new update brings and if that changes anything.
Click to expand...
Click to collapse
Hmm, that's rather strange. What phone are you using? It's possible that Android is slowing down the sensor events when the screen is off to save battery, so it might have taken a while to detect it was out of your pocket.
PaeP3nguin said:
Hmm, that's rather strange. What phone are you using? It's possible that Android is slowing down the sensor events when the screen is off to save battery, so it might have taken a while to detect it was out of your pocket.
Click to expand...
Click to collapse
It's a Nexus 5 running the Slimkat Custom ROM. Not sure if that's helping...
I am trying the all "gravity screen on" now and it's turning the screen on instantly, so sensors shouldn't be the problem.
adl said:
It's a Nexus 5 running the Slimkat Custom ROM. Not sure if that's helping...
I am trying the all "gravity screen on" now and it's turning the screen on instantly, so sensors shouldn't be the problem.
Click to expand...
Click to collapse
Hmm, strange. In the Pocket Lock settings, what is your lock method set to?
PaeP3nguin said:
Hmm, strange. In the Pocket Lock settings, what is your lock method set to?
Click to expand...
Click to collapse
I left it on standard, so both methods.
I didn't change any other setting, only the setting I mentioned above. Well try the new version as soon as I see it in playstore (shows old version so for).
EDIT:
New version seems to work better/faster. I still uninstalled it, as i found out that for my phone usage i am better off without an automatic on/off app. I usually have my phone in the backpocket and before i sit down i take it out but don´t want it to turn actually on or i carry the phone around in my hands.
Anyway good luck with the app!
adl said:
I left it on standard, so both methods.
I didn't change any other setting, only the setting I mentioned above. Well try the new version as soon as I see it in playstore (shows old version so for).
EDIT:
New version seems to work better/faster. I still uninstalled it, as i found out that for my phone usage i am better off without an automatic on/off app. I usually have my phone in the backpocket and before i sit down i take it out but don´t want it to turn actually on or i carry the phone around in my hands.
Anyway good luck with the app!
Click to expand...
Click to collapse
Good to hear the new version is working better. Hey, thanks for using Pocket Lock!
New update just uploaded. I've sort of given up on the gravity sensor. Even though it's supposed to be more accurate, it tends to use way more power and seems to have problems on Samsung phones. The next update will default to using the accelerometer, though there is an easy checkbox to disable that change.
Could you guys let me know what the Gravity sensor power usage and the Accelerometer sensor power usage values in the Diagnostics screen show? I'm pretty sure that the accelerometer should universally use less power.
Just downloaded this a few hours ago and it's been great. The app UI itself is nice, too!
I particularly like the vibrate/sound on lock and unlock. Any chance you'd let us pick our own sound in the future?