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

{
"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?

Related

[APP][FREE][2.2+] IntelliCover - Proximity Sensor Based Screen Control (And MORE)

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...

[APP][2.2+] Gravity Screen > Turn Screen On/Off Automatically - Keep Screen On

{
"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"
}
I was tired of pressing the power button whenever I need my phone for a second. Thus I created the Gravity Screen Off app which can turn automatically the screen ON when I grab my phone and turn it OFF when I put it into my pocket or onto a table. Basically, no need to touch any button and you are ready to go.
HOW IT WORKS:
The app turns the screen off by monitoring the orientation of the device through the gravity sensor. When your phone is pointing downward by its top, below a certain angle, it's likely to be out of use. In this situation the proximity sensor is activated to determine if it is covered. If yes, the screen turns off because probably you placed the phone into your pocket or onto a table.
The screen turns on when you lift up your phone. The phone wakes up if the proximity sensor is uncovered or if it was not covered the app is looking for movements to detect the action.
The Keep Screen On feature based on screen orientation and motion detection as well. If the device is pointing upward and small movements are detected it's probably held in hand and the screen timeout is extended.
MAIN FEATURES:
- Pocket Sensor: Recognizes if your phone is in your pocket. By turning your phone below the angle you set, it'll prepare to turn the screen off.
- Table Sensor: Detects your phone is lying on a table and turns the screen off.
- Turn Screen On by Motion: If the screen is off and it's facing up the device can be woken up by any movements (ex. lift up by hand) according to the sensitivity set.
- Keep Screen On by Motion: It's a Screebl like feature but it's relying on the small movements you are doing by your hand while holding the phone. If small motions are detected while the screen is facing up the feature keeps the screen on because it can be suspected that the phone is held and probably you are reading something. If the phone is steady the timeout will work as normal in any position you leave your device unlike in another apps.
- Turn Screen On by Proximity: Turns the screen On when you take your phone out from your pocket and Off when you put it back. By swiping your finger over the proximity sensor the phone can be woken up as well.
- Turn Screen Off by Proximity: If the device is pointing downward it takes the proximity sensor into account. By turning this off the program will rely only on the gravity sensor.
- Tasker, Llama, Locale supported by plug-in.
- 3 widgets/shortcuts: (available in Unlocked version)
(i) pause/resume
(ii) turn screen off: It's like pressing the power button
(iii) turn screen off persistently: turn screen off and keep it off until power button is pressed. It's good when you have to keep the phone in your hand or while driving and do not want the screen turned on by the app. After pressing the power button it will work as before.
- Power Toggles plug-ins
BATTERY USAGE:
You can set the app to minimize the energy consumed by the screen and by this you can extend your battery life. Or you can extend your own life by using another features of the app In the first case the battery usage should be not significant. I experienced about 7 per cent extra consumption on the test device. However it can be higher if you are activating often the Turn Screen On by Motion feature by leaving your device face up on table and you set a relatively long timeout for the feature. Read FAQ [4] for more details.
IMPORTANT
On some devices if it's lying face down the alarm clock is switched off by the app after it had gone off! Please check if it's the case for you. If, yes, use a third party app, for example: https://play.google.com/store/apps/details?id=com.vp.alarmClockPlusDock
DOWNLOAD
Gravity Screen
NOTE
Probably not all feature will work for everyone. It was tested so far mainly on Samsung devices with stock rom. If you think it does not work for you, please read the FAQs below or report your issue in this thread.
REPORT YOUR ISSUE
If you have an issue, do NOT post it until you read the FAQ below and try to solve it alone by trying different settings for some hours. If still no solution, please write all your settings in your question otherwise your question will be ignored. If you feel you have a battery drain, do not post it in this thread. We are not speaking about it anymore
VERSIONS: FREE vs. UNLOCKED by IN-APP PURCHASE
In the Unlocked version, there is no 15 minutes limit for turning the screen on by motion and the Table sensor can be set more precisely, plus it has an Exclude App list, a more advanced Delayed lock option and Widgets.
CREDIT
Thanks to @remidesroques and everyone who helped and keep helping the development by testing the beta versions, sending feed backs or any another way supporting this app.
Translations:
Spanish: Johandri Silva and Eduardo Iñiguez
Russian: Gljadkov Oleg
French: @gregland
Italian: @DesmoDavid
Czech: Jaroslav Vrána
Portuguese (Brazilian): Irwing Junqueira Braga
Change log:
- - v2.4.1 - -
Added: Android M support
Fix: Power button support issue when screen turned off during lock screen
Fix: small issues
- - v1.80.1 - -
Added:
- 3 widgets: (available in Unlocked version)
(i) pause/resume
(ii) turn screen off: It's like pressing the power button
(iii) turn screen off persistently: turn screen off and keep it off until power button is pressed. It's good when you have to keep the phone in your hand or while driving and do not want the screen turned on by the app. After pressing the power button it will work as before.
- Power Toggles plug-ins
- Translation: Traditional Chinese, Turkish
- - - v1.78.2 - -
Fix:
- works on LG P880
Added:
- Languages: Arabic, Chinese, Dutch, Hungarian. Thank you for the translations.
- Car dock detection
APKs:
Gravity Screen - FAQ
Hi,
thanks for your feedback.
[1] Q: The screen not always turns off when I put my phone into my pocket, why?
A: The proximity sensor not always accurate. It can fail recognizing some materials specially if they are very close to it. If it happen occasionally, probably it's still worth to use the sensor. But even you can eliminate the accidental turning on by selecting the False Turn On Protection in Pocket option.
[2] Q: The Table Sensor not really works for me when I place my phone onto a table face down, why?
A: This issue is quite common. The first problem is that the free version is limited to 15 degree. If you are turning your phone fast downward the proximity sensor is activated only when it's very close to the table. Many proximity sensors cannot judge distance accurate if the object is too close to it. This is the reason the screen remains on often. And even more the reliability of the sensor depends partly on the material as well. Thus if you are using the free version it's recommended to place your phone onto a table not too fast and try to keep it parallel to it. The paid version allows you to increase the angle and by this the problem is significantly reduced. Moreover, the problem can be reduced by selecting the False Turn On Protection in Pocket option.
[3] Q: Why does the Lying Face Up feature turn the screen off regardless I'm tapping the screen?
A: Due to Android security restrictions a running service cannot detect if the screen was tapped. If you want to continue using the device you have to swipe over the proximity sensor to keep it on or turn it back on.
[4] Q: I'm experiencing high battery usage, why?
A: The app should use about 6 percent extra energy per day if you are not using too much the Turn Screen On by Motion feature. If you frequently lay your phone face up on a table and the Turn Screen On by Motion Timeout is too long, the battery consumption can be much higher. Because the CPU has to be constantly analyzing the data of to acceleration sensor to catch the movement when you lift up the device. Thus if you want to reduce the battery usage it's recommended to keep your phone often lying face down when it's on a table. Because in this situation the proximity sensor is responsible for turning the screen back on which uses much less energy. Moreover, please, keep in mind that the android en-built battery consumption measurement can show much higher results, because it shows the battery usage relatively to another apps. If the phone was not in use or the measurement period was short, it looks like my app uses too much energy however there was not too much energy used all together.
[5] Q: The Keep Screen On by Motion feature does not work for me, why?
A: It can be the result of battery saving processes on your device. Ask for support from the app in this case.
[6] Q: Turn Screen On by Motion feature does not work for me, why?
A: It can be the timeout of the feature is expired, in this case you have to increase it within the app. Or it can be caused by battery saving methods by killing the service of the app. In this case you have to turn off battery saving methods of your device. Please visit: https://dontkillmyapp.com/
[7] Q: The screen turns off in landscape mode, why?
A: This issue has many different solutions. You can make the Pocket Sensor Angle smaller or if you have the Any Direction feature ticket, you can pause the GS app temporally. There are ways to pause it: 1. tick the Landscape mode feature; 2. using the Locale plug-in by Tasker or Llama; 3. using the Menu - Exclude apps option.
[8] Q: It gives me a huuuge wakelok, why?
A: The wakelock is necessary for the "Turn Screen On by Motion" feature but if you turn the screen off through the proximity sensor (i.e. put it into your pocket or place face down onto a table) there won't be wakelock held. So if you want to reduce the wakelock try to keep your phone face down. Moreover, you can limit it by the Timeout scrollbar as well but this means you will loose the feature after the timeout you set.
[9] Q: I'm prompted to type my pass code immediately after screen turns on.
A: You have to enable the Fingerprint, Smart Lock Support option in the app.
[10] Q: It makes a buzzing sound when listening to music and stuff. Can you turn it off?
A: Due to a hardware problem the proximity sensor is causing the buzzing noise on Nexus 4 when it's active.
At the moment I can recommend some changes in the settings. If you turn on the Headset support and connect your headphone, you are able to turn off the "Turn Screen Off by Proximity" and "Turn Screen On by Proximity" features independently from the state when headphone is not connected. The app will remember this and always turn off the proximity sensor when headphone is connected.
[12] Q: Will you add an option to scheduled the app to stop it for night hours?
A: Not really. Please, use the Locale plug-in in Tasker or Llama;
[13] Q: Why my alarm clock does not work?
A: Unfortunately many alarm clocks cancel the alarm when the screen turns off. It can happen if you leave your phone face down at night and my app turns the screen back off when the alarm goes off. The app is trying to detect the alarm event and pause itself, but it's not possible with all alarm clock apps. Thus it's strongly recommended to test your alarm clock with this app.
You can solve this problem by using a well written alarm clock, for example: https://play.google.com/store/apps/details?id=com.amdroidalarmclock.amdroid, https://play.google.com/store/apps/details?id=com.vp.alarmClockPlusDock,
https://play.google.com/store/apps/details?id=ch.bitspin.timely, https://play.google.com/store/apps/details?id=com.amdroidalarmclock.amdroid, https://play.google.com/store/apps/details?id=com.alarmclock.xtreme.free.
[14] Q: The screen turns on during driving. How to avoid it?
A: The simplest method is to pause the app before driving. There are different widgets in the app for this. Or if you are driving often you can use the Power button support feature A more advanced method can be to pause the app when the phone is connected to the car by bluetooth and resumed when disconnected. You can do this by Llama via the Locale plug-in.
[15] Q: The notification not responding/disappearing when I try to pause/resume the app from the notification area, why?
A: Please try to un-tick the NOTIFICATION -> LOW PRIORITY option in the app. It should solve the problem.
[16] Q: What are the shortcuts/ widgets for:
A:
(i) pause/resume
(ii) off: It's like pressing the power button
(iii) persistent off: turn screen off and keep it off until power button is pressed again. It's good when the phone is moving but you do not want it to turn on.
(iv) lock: turns off the screen and locks it. Useful if delayed lock is in use but you want to lock the device manually.
[17] Q: Where is the Pro version? I cannot find it on Play Store.
A: The Pro version is discontinued unfortunately, due to security reasons.
To change to the Unlocked version, please, do the following:
- send me the purchase number of the Pro and I'll send you a promotional code which you can use to unlock the free version
[18] Q: In-App Purchase fails. Why?
A: It's a Play Store app issue probably which happening on some devices.
Please make sure you are connected and restart the device. Other method can be to uninstall the Play Store updates and try with an older version of the Play Store app. It often helps.
[19] Q: I bought the app by IAP but it's still locked. Why?
A: It's a Play Store app issue probably which happening on some devices when not connected to the internet.
Please make sure you are connected and restart the device. Moreover, do you have more than one Google account registered on your device? That can cause the issue too, that you bought the app under a different account. Other method can be to uninstall the Play Store updates and try with an older version of the Play Store app. It often helps.
[20] Q: After some time the phone does not wake up. Why?
A: I'd check any kind of battery saving methods your device may use currently. Probably that disables the sensor after some time.
Moreover, make sure that the Turn screen on by motion timeout is set properly. Please visit: https://dontkillmyapp.com/
[20] Q: I cannot uninstall it. Why?
A: You have to press the uninstall button in the app, not in Play Store or in Android settings. If still no luck reboot your device and try again .
[21] Q: The POWER BUTTON SUPPORT option does not work for me. Why?
A: You have to change the screen timeout from AUTO to another value in Android settings and do a reboot.
[22] Q: The fingerprint sensor does not work, instead I have to type my pin every time. Why?
A: This is an Android thing, for developers the Smart lock features are not supported. That's why we have to use workarounds.
Using the FINGERPRINT UNLOCK, SMART LOCK SUPPORT option should solve the issue but you may have to wait about 5-10 seconds for the complete turning off with the Timeout method.
The Accessibility method is recommended to choose above Android 8.
Root your device to make this workaround perfect. In this case the turning off will be instantaneous.
[23] Q: Why does the screen only turns black but not turning completely off?
A: It's because you have selected the Timeout method of the SMART LOCK SUPPORT option and your device is not rooted. This is an Android thing, for developers the Smart lock features are not supported. That's why we have to use workarounds. Using the SMART LOCK SUPPORT option you have to wait about 5-10 seconds for the complete turning off.
Root your device to make this workaround perfect. In this case the turning off will be instantaneous.
[24] Q: The app is paused when I got a notification from an app which is on the Exclude Apps list. Why?
A: To avoid this issue, you have to grant the app an extra permission in Settings - Notifications - Notification Access
[25] Q: Why the screen timeout is changed by the app?
A: The Keep Screen On by Motion feature extends the timeout always an extra amount of time to keep the screen on when motion is detected. The timeout resets when the screen is turned off.
This method is used only for Xiaomi and Samsung devices above Android Pie.
[26] Q: The app stops working on MIUI (xiaomi redmi) after some minutes. Why?
A: To solve the issue please visit: https://dontkillmyapp.com/
[27] Q: The Turn Screen On features does not work on Samsung S8 or S8+. Why?
A: Luckily there is a very easy and quick fix! You just have to go to the edge light settings on your phone and there you can select which apps are affected by the edge light. So if you turn it off Gravity Screen in this list the notification of the app will get handled by android again, not Samsung's system. So this means that it will turn on the screen again!
Here is a video made to show the bug and how to fix it: https://youtu.be/WSSKvMrx7X0 (Thanks for finding the solution: Kitt3120)
[28] Q: The app stops working on Nokia Oreo. Why?
A: Because of a bug in the power saving method of Nokia devices, background processes are closed even if they are protected.
To overcome this issue you have to do the followings:
In Settings/Apps => Show system apps - deactivate these two packages:
- com.evenwell.powersaving.g3
- com.evenwell.powersaving.g3.overlay.base.s600ww
Please visit: https://dontkillmyapp.com/
[29] Q: The app stops working on Huawei EMUI 8. Why?
A: Because of a bug in the power saving method of Huawei devices, background processes are closed even if they are protected.
To make the app work on EMUI 8 you have to do the following:
Settings --> Battery --> Launch. Find GS there, click on it, open every option (which also includes "Run in background") and let it say "Manage manually".
Please visit: https://dontkillmyapp.com/
[30] Q: The app stops working on Android 9. Why?
A: Because of a bug in the power saving method, background processes are closed even if they are chosen to be not optimized.
To solve this issue you have to grant Gravity Screen access to notifications in: Menu - Permission Control
Please visit: https://dontkillmyapp.com/
TROUBLESHOOT
- make sure the app is installed on internal memory card; external sd cards can cause many kind of problems
- if it looks like the app stopped working correctly do an uninstall, re-install and a reboot
Interesting! Downloading and testing...
Great app, testing it now. For the proximity function, shouldn't the drain be higher because when the phone is in the pocket the proximity sensor is always on?
mliou said:
Great app, testing it now. For the proximity function, shouldn't the drain be higher because when the phone is in the pocket the proximity sensor is always on?
Click to expand...
Click to collapse
Yes, that's right. When it's turned off by proximity, there is no significant drain.
Great app :good: this is exactly what i was looking for :victory:
what benefits offers me the pro version??
Acousticbeatz said:
Great app :good: this is exactly what i was looking for :victory:
what benefits offers me the pro version??
Click to expand...
Click to collapse
You can live with the free version quite well. But by buying the paid version your life will be easier little bit:
- you can drop your phone face down onto your undone bed and your screen will turn off
- when you wake up and hardly find your phone the screen will turn on automatically at the moment you grab it and no need to find any button
Probably there are more advantages, but I could recall only these at the moment
Some feedback
1- Pocket sensor
*** gravity - can turn off but can't turn on.
*** proximity - can't even turn off
2- Table Sensor
*** gravity - can turn off but can't turn on
*** proximity - working (both face down/up and off/on)
3- Turn Screen On by Motion
*** not working for both gravity and proximity (unless swiping finger over the proximity sensor)
4- Keep Screen On by Motion
*** not working at all (even after change the sensitivity)
Request
Keep Screen On by Angle - Sometimes, i didn't hold my phone. Just put on the table in standing position. So, 0-10 degree will off the screen while higher than that will keep the screen on. No need to keep shaking
I'm on Motorola Defy CM7.2 btw. Keep your good work :good:
plexnor said:
You can live with the free version quite well. But by buying the paid version your life will be easier little bit:
- you can drop your phone face down onto your undone bed and your screen will turn off
- when you wake up and hardly find your phone the screen will turn on automatically at the moment you grab it and no need to find any button
Probably there are more advantages, but I could recall only these at the moment
Click to expand...
Click to collapse
sounds good... and already purchased
plexnor said:
Yes, that's right. When it's turned off by proximity, there is no significant drain.
Click to expand...
Click to collapse
Do you mean check the box for "Turn Screen OFF by Proximity" or uncheck the box?
its a really nice app, thank you.
one question:
if i put my galaxy nexus in the pocket, it turns off and then it turns on immediatly.
sometimes it won´t even turn off. if i rotate it in my hand and cover the brightness
sensor it will definitely turn off.
if the galaxy nexus rotates in my pocket (sometimes it is on the side) then it turns
on.
is this a bug or do i have to wrong settings.
thank you
antukubo said:
Some feedback
1- Pocket sensor
*** gravity - can turn off but can't turn on.
*** proximity - can't even turn off
2- Table Sensor
*** gravity - can turn off but can't turn on
*** proximity - working (both face down/up and off/on)
3- Turn Screen On by Motion
*** not working for both gravity and proximity (unless swiping finger over the proximity sensor)
4- Keep Screen On by Motion
*** not working at all (even after change the sensitivity)
Request
Keep Screen On by Angle - Sometimes, i didn't hold my phone. Just put on the table in standing position. So, 0-10 degree will off the screen while higher than that will keep the screen on. No need to keep shaking
I'm on Motorola Defy CM7.2 btw. Keep your good work :good:
Click to expand...
Click to collapse
For keeping screen on, try the booster option. That's the only option.
Request: Turn off some settings when it's charging as my phone is flat on a surface and it is quiet annoying when I turn phone on it has a very short display timeout (due to tablet sensor)
antukubo said:
4- Keep Screen On by Motion
*** not working at all (even after change the sensitivity)
Click to expand...
Click to collapse
mliou said:
For keeping screen on, try the booster option. That's the only option.
Click to expand...
Click to collapse
Thanks. That trick works! I wonder why i didn't try that before
antukubo said:
3- Turn Screen On by Motion
*** not working for both gravity and proximity (unless swiping finger over the proximity sensor)
Click to expand...
Click to collapse
After playing a bit more, found that it is partially working on proximity. When facing down, it works. But while facing up, it is not working. Unless i face it down again, then the screen will turn on by motion.
Now, monitoring the battery usage. Hopefully it will not drink too many juice...
Can upload apk please? Stupid play store won't allow me to install, says incompatible.
Acousticbeatz said:
sounds good... and already purchased
Click to expand...
Click to collapse
It's great, thanks
mliou said:
Do you mean check the box for "Turn Screen OFF by Proximity" or uncheck the box?
Click to expand...
Click to collapse
Yes, I mean keep the "Turn Screen OFF by Proximity" check box checked and after switch off the phone by the proximity sensor. You can do this by placing your phone face down or put it into your pocket when you want to turn the screen off. In this situations the proximity sensor will be activated and the screen will be turned off by it.
an0nym0us_ said:
Can upload apk please? Stupid play store won't allow me to install, says incompatible.
Click to expand...
Click to collapse
Hm, interesting why it doesn't allow you to install it ... I attached the file.
myhrdak said:
its a really nice app, thank you.
one question:
if i put my galaxy nexus in the pocket, it turns off and then it turns on immediatly.
sometimes it won´t even turn off. if i rotate it in my hand and cover the brightness
sensor it will definitely turn off.
if the galaxy nexus rotates in my pocket (sometimes it is on the side) then it turns
on.
is this a bug or do i have to wrong settings.
thank you
Click to expand...
Click to collapse
This is an issue with the proximity sensor. Unfortunately it looks like the sensor on your phone cannot recognize well the material of your trouser. If it happens quite often; the solution is to uncheck the "Turn screen ON by proximity" feature. In this situation when you place your phone into your pocket the screen will turn off and the proximity sensor will be inactive after. You can wake up your device by motion only after this. Downside: it costs more energy.
If the phone is often on its side in your pocket try to increase the pocket sensor angle. If it's still turning on, the only way is too keep your phone not to turn on its side or switch off the "turn screen on by motion" feature and in that case the phone will only turn off automatically which is still not too bad.
This app is so good!! I will report my experience

[Feature][ROM][4.3/4.4] Active Display

{
"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"
}
The ChameleonOS team is proud to present to you our latest addition to the growing list of features. Please give a warm welcome to the new active display feature. With active display your device can turn on when new notifications arrive and display that information to you on the screen. There is no need to turn your device on every time you hear that distinctive notification sound. Your notifications are right where you need them without all the clutter and free from other distractions. If your device has a proximity sensor, which most touch screen phones have, you are in luck. Active display will not turn on if it detects something close to this sensor. So if you have your phone stashed away in your pocket or bag, don't worry, it won't turn the display on and waste your battery. And as an added bonus we've included an option to turn on pocket mode. When this is enabled active display will turn on your screen and display your current notifications instantly, provided you have any pending notifications.
Features
Instantly turns the device screen on and displays notifications as they arrive
Up to 8 notifications displayed in a horizontal strip that can be viewed by touching the notification icon
Short notification description can be displayed around the outside of the center ring
Touch the center ring notification to view the full notification
Unlock the device, open the app for the current notification or dismiss the current notification
Set a re-display time to have active display remind you of your pending notifications
Adjustable brightness level for when active display turns the screen on
Pocket mode which allows active display to turn on once you remove the device from your pocket or bag
Video Demonstration
* Active display will be merged into our github repos shortly and will be included in the upcoming nightly builds thereafter.
website: http://www.chameleonos.org
forums: http://forums.chameleonos.org
github: https://github.com/ChameleonOS
code review: http://review.chameleonos.org​
Now for the important stuff that developers may be interested in. Since ChameleonOS is an open source project this feature is available for other developers to pick and incorporate into other ROMs. If you want to incorporate this you'll need to grab a few commits from our frameworks base and Settings projects.
From android_frameworks_base you'll want to pick the following commits [4.3]:
0e846d1a210f9ac937689ac6fa6052decd6090bd
504a3365f429d1f9b3af4b6f4b33196623b82326
4d79213fa35bf68762d3335bcc4d89991b701338
From android_frameworks_base you'll want to pick the following commits [4.4]:
269544e60aa176ba8be7f5a66d0210bec49fa43f
And from Settings you'll want to pick these commits:
0e508d62622c403ab99655a1eb7e14b3fcaa18d8
8ab78d4d79bf124bda5b78dc2bdf9e44df25c2e2
*Note: ChameleonOS started out by using CyanogenMod as a base so some dependencies may exist which would need to be resolved when incorporating this into other ROMs. Feel free to contact me if you encounter any problems and you can't figure out the resolution.
**UPDATE**
For those that are using a 4.3 or 4.4 based ROM that does not have Active Display integrated, I've managed to develop a stand alone application that adds the functionality of Active Display. There is an ad supported version as well as a paid version for those that like to support independent developers.
Active Display (ad supported)
Active Display w/o ads
Is there a pulse setting? Or is that the re-display option?
yawdapaah said:
Is there a pulse setting? Or is that the re-display option?
Click to expand...
Click to collapse
I guess you could consider the re-display option as being similar to pulse for the LED. Active display will turn on and show pending notifications at the interval specified by the user.
0xD34D said:
I guess you could consider the re-display option as being similar to pulse for the LED. Active display will turn on and show pending notifications at the interval specified by the user.
Click to expand...
Click to collapse
I guess without the Moto X dedicated CPU a pulse option would kill the battery? If you miss the notification, you can't really tell that you've gotten one.
yawdapaah said:
I guess without the Moto X dedicated CPU a pulse option would kill the battery? If you miss the notification, you can't really tell that you've gotten one.
Click to expand...
Click to collapse
The minimum setting is 1 minute so you could set it to that. Because it turns the display on momentarily to display the notifications, there will be some power consumption because of this. There are several different values the user can set this to and in a future release I'll have it so the user can set their own time instead of being confined to the discrete values that are available in the current implementation.
...
Just 1 small question...how reliable is pocket mode ?
Cos I prefer that as the most amazing usp of active display
vampire36 said:
Just 1 small question...how reliable is pocket mode ?
Cos I prefer that as the most amazing usp of active display
Click to expand...
Click to collapse
May be it is not only using call sensors but as well acclerometer.. this way it might not turn ON.. But wondering about battery drain..
So, do we just flash this the usual way or are there special instructions on how to properly do this??
Thanks in advance, this Rom looks AWESOME!!! Can't wait to flash it on my SGS3
Sent from my SCH-I605 using XDA Premium 4 mobile app
I hope somebody makes a flashable zip for the latest PA
Sent from my Nexus 4 using Tapatalk 4
About pocket mode, it says it will turn on active display when out of the pocket. And so this means the proximity sensor will be on all the time after receiving a notification?
TheGeekHanaz said:
I hope somebody makes a flashable zip for the latest PA
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
You can't make a chane to the source code with a flashable zip. THat's more work on someone who wants to do that, or a device maintainer could just cherry-pick the commits he's highlited which would be easier imo.
tsukot said:
About pocket mode, it says it will turn on active display when out of the pocket. And so this means the proximity sensor will be on all the time after receiving a notification?
Click to expand...
Click to collapse
yes, pocket mode will enable proximity sensor when screen is off. Waving your hand over the device will also turn on the screen if there is a notification waiting as well, perfect for when my phone is on my desk.
hoppermi said:
yes, pocket mode will enable proximity sensor when screen is off. Waving your hand over the device will also turn on the screen if there is a notification waiting as well, perfect for when my phone is on my desk.
Click to expand...
Click to collapse
And so this will kill the battery slowly until the user puts the phone out of the pocket.
vampire36 said:
Just 1 small question...how reliable is pocket mode ?
Cos I prefer that as the most amazing usp of active display
Click to expand...
Click to collapse
It's been quite reliable for me. It uses the device's proximity sensor to determine if it should show the active display by listening for when the sensor goes from something being near to something being far (typically >5cm). The motivation behind adding this was because when I take my phone out of my pocket it is usually to check something. Having it turn on and display my notifications the moment I take it out just made sense to me. If you don't have any notifications then it's not going to turn on. I also use this to look at my notifications when my device is sitting on my desk. I can wave my hand over the screen and it turns on. It is an option so people can enable and disable it as they see fit.
tsukot said:
And so this will kill the battery slowly until the user puts the phone out of the pocket.
Click to expand...
Click to collapse
No it won't. Proximity sensors are interrupt based meaning they only update when the state changes from near->far or far->near. All the proximity sensors I've worked with thus far only provide two different values, one representing near and one representing far. So if the device is in your pocket, the sensor code is not going to be called until you the device. It's not like an accelerometer where values are always changing and thus code is always running.
Sunlight mode coming soon
I wanted to share a new feature coming to this implementation of active display. Some, if not all, displays are hard to see in direct sunlight so I wanted to see what I could do to make active display stand out a bit when staring at it when the sun is beating down on my display. I found that if I invert the colors, the items and text on active display are much easier to make out. If your device has a light sensor, and this mode is enabled in the settings, active display will invert the colors when it detects a bright light source. Bright in this case is greater than 8000 lumens.
For those worried about the sensor always polling, don't worry. The sensor is only being used while active display is on and showing content. Once the screen turns off or you unlock the sesnor is no longer being used.
0xD34D said:
It's been quite reliable for me. It uses the device's proximity sensor to determine if it should show the active display by listening for when the sensor goes from something being near to something being far (typically >5cm). The motivation behind adding this was because when I take my phone out of my pocket it is usually to check something. Having it turn on and display my notifications the moment I take it out just made sense to me. If you don't have any notifications then it's not going to turn on. I also use this to look at my notifications when my device is sitting on my desk. I can wave my hand over the screen and it turns on. It is an option so people can enable and disable it as they see fit.
Click to expand...
Click to collapse
Dude works a treat...awesome...thanx a lot...nexus 4
Now can just peek through apps as and when I want
Thanx a ton
0xD34D said:
The ChameleonOS team is proud to present to you our latest addition to the growing list of features. Please give a warm welcome to the new active display feature....
Click to expand...
Click to collapse
That is awesome. I really hope someone ports this over to a full stock rom. or makes it possible to install by those of us with root.

"ScreenLock Gear" in Gear app store available - lock screen/bezel/button

*** App is now suspended, since it doesn't work in Tizen 3.0 and this OS has bezel blocking feature itself. Thank you for participation in this project! ***
Hi, I created app "ScreenLock Gear", because I want to monitor my sleep with locked bezel, eliminate turning screen on by my shirt etc. The mission of this thread is to make it comfortable for all of us.
So what is it?
Simple application for screen locking (bezel/screen/button).
Add widget -> Customise -> Tap to lock -> Enjoy locked screen
I uploaded new version (2.0) to Gear store. Description of the new version:
[Widget icons]
- Please see the first image in this post.
[Features]
- Battery friendly - CPU sleeps all the time, big battery saver (there is just listener in background).
- Widget for easy locking and customise settings.
- Supports both - AOD / Display OFF (for AOD is best to set lowest time to unlock).
[New in 2.0]
- Alarm / PIN / Call compatible! It temporary suspends ScreenLock.
- Customisation in widget.
- Unlocking by bezel (right-left-right-left).
- Option to see unlocking pattern progress, including clock and time to unlock.
- HOME button will temporary disable ScreenLock (until next display turn-off)
Again, thanks for the app.
I have not been out in the rain - when I use your app to lock my Gear S3, will it keep logging my walking/hiking/etc? Or does it pause other operations.
I would prefer it you keep it simple but I'm sure others will have requests for more options.
As I wrote elsewhere, when logging walks/hikes, the strap of my hiking pole hits the Back and On buttons and it eventually terminated the logging of my hikes. So this would be a perfect way to prevent accidental touchs of the buttons or screen from changing things.
Again, THANKS.
fred2546 said:
I have not been out in the rain - when I use your app to lock my Gear S3, will it keep logging my walking/hiking/etc? Or does it pause other operations.
Click to expand...
Click to collapse
No, the ScreenLock has no impact to any logging. Because it does simple job: When DISPLAY TURN ON, call DISPLAY TURN OFF. It is like if you set screen timeout to 0.3 sec. So it is only shortening screen timeout, having no negative impact on battery life or influence of logging.
fred2546 said:
I would prefer it you keep it simple but I'm sure others will have requests for more options.
Click to expand...
Click to collapse
Yes, I will add more options, but primary I want to make it more comfortable to unlock.
fred2546 said:
As I wrote elsewhere, when logging walks/hikes, the strap of my hiking pole hits the Back and On buttons and it eventually terminated the logging of my hikes. So this would be a perfect way to prevent accidental touchs of the buttons or screen from changing things.
Click to expand...
Click to collapse
Yes, it can be used, but now only with screen off. S health will continue to log your trip, but you can't see your statistics until you unlock the screen, which is not so comfortable. Maybe only on long hikes. It is in my future plans to enable this app on top of another app.
Thanks for testing
Great idea, I'll give it a run! Thanks for getting this out there
Used it on a 3 mile walk this afternoon. It appears to have worked fine. Shealth still informed me of my statistics at 1, 3 and 3 miles including pace, distance and heart rate. I played with the buttons while walking and the screen stayed dark (there is the brief message "locked") and did not interrupt my hike log. This walk was not as strenuous and steep as the one last week that prematurely ended when the pole straps pressed the wrong buttons. But since I was pressing randomly, it stayed locked.
I was easy to UNlock it and then to stop Shealth's logging.
Obviously, with the screen locked I could not see what the email alerts were but that is fine. I don't have to be permanently connected to my email.
Again, THANKS.
Thanks for the app. I've found I light them room up if I hit the watch while in bed. I may see if tasker can lock the watch at a certain time and maybe even unlock it. I don't know how difficult it would be for you but adding those features would be nice additions. Again, great job and THANKS!!
Konvalink, man, this bezel wake up was making my life miserable.
IMO the app works perfectly, no bells and whistles, just shuts the thing down.
So many thanks, also on behalf of my wife who was about to file.
Love ya man
Brilliant!
Brilliant idea! Thanks.
Thank you very much for this app. Maybe you can add the the back button for lock also.
I've been using this app every night for the past several days. Only issue I have noticed is that when I move my wrist, the watchface will show for 1/2 a second or less then give the "locked" notice. Overall tho, this works great and I really appreciate you sharing it with us.
Needs Polishing
A very essential app. THANK YOU! for sharing
Observations:
1. Hotspots are visible on the AOD screen
2. Momentary "screen on " before showing number of unlock tries
3. Delay in unlocking when a notification is active
Please continue the good work. Again, thank you.
konvalink said:
- It is not compatible with PIN protection - too hard to unlock screen
Click to expand...
Click to collapse
Can you please clarify? Can't I use your app if I need Pin also? I use Samsung Pay, so it's mandatory to have pin protection.
Ljusalfheim said:
Can you please clarify? Can't I use your app if I need Pin also? I use Samsung Pay, so it's mandatory to have pin protection.
Click to expand...
Click to collapse
The problem is, when PIN protection is enabled, I'm not able to monitor keys or run my app, since PIN protection is killing everything because of safety reasons.
But you can use it. Locking will work. Only unlock will be harder, because app has no chance to monitor BACK key for exit. I will try to solve it somehow, but now, this unlocking would work with PIN enabled:
- Press HOME several times. This will minimise ScreenLock app, so you can write your pin.
- Then you will see black screen, press BACK several times. Otherwise the ScreenLock will start on another SCREEN ON event.
So it's not comfortable yet, but it works.
So it's not comfortable yet, but it works.
Click to expand...
Click to collapse
Thanks, amigo, will wait for updates! Keep up the great work!
i just cant find it. tried a lot of times. may i get a link? thank you
konvalink said:
Hi, I created app "ScreenLock Gear", because I want to monitor my sleep with locked bezel, eliminate turning screen on by my shirt etc. The mission of this thread is to make it comfortable for all of us.
So what is it?
Simple application for screen locking (bezel/screen/button).
Add widget -> Tap to lock -> Enjoy locked screen -> Press BACK quickly several time to unlock.
Or set this app for HOME double-click.
[Features]
- Widget for easy locking
- Supports both - AOD / Display OFF
- Battery friendly - there is just listener in background, so CPU sleeps all the time
- Counter of locks
[Notes]
- This is alpha version, so please try it and comment your ideas
- It is not compatible with PIN protection - too hard to unlock screen
- To explain the unlock pattern - you have to press the BACK three times in sequence of time 0.1 to 0.3 sec between every press. Because if I let here more time, it will delay global locking time.
[Future plans]
- Primary: make unlocking more friendly
- Make user to select different unlocking pattern
- Ability to lock screen on current app (S health)
Click to expand...
Click to collapse
HI again.
i need to have one particular app permanently on screen (Skydive altimeter) during a certain period of gime (approximately 5 min ). It's essential that the bezel doesn't interfere so it would be great if your app could block it but I must see the interface of Skydive altimeter. Is it possible?
Thanks great app.please make time based lock option or lock when detect sleeping
Great app. I got 4 days of working time with AOD in red font.
About unlocking: maybe full 360 bezel movement instead of clicking back button?
Hi,
First off, thanks so much for this app, I don't understand why Samsung didn't put this type of feature directly in the gear... Anyways, I'll test this tonight and see how it goes
However, is it possible for you to add an option page where you can decice how to unlock and if we can show the number of unlock tentatives? On my end, I would prefear if the gear stayed fully off, without showing the number of tentatives.
Thanks!!
More than happy with app
I used the app a few times hiking and find it working very well. It keeps S-health's log going and the underlying S-health app does not prematurely terminate logging of my hike or walk because something (like the straps from my hiking poles) has activated the Home or Back buttons.
And even though I have Samsung Pay activated and have a password/pin your app does not interfere.
THANKS VERY MUCH.

[Request] Lift to Face Unlock

Face unlock currently requires a double tap, which is annoying because it doesn't work half the time
Even though they are trying to fix this in the next update, a better implementation would be when you raise the phone, it shows the lock screen (not ambient display screen), and simultaneously turns on the front camera to face unlock your phone
Gravity screen can do this, but requires a heavy wakelock to do so. Using the same 'raise to wake' method as ambient display [which seems to work without a heavy wakelock], but then showing the lock screen instead of ambient display, should achieve this
I would LOVE this feature, it would be a complete game changer!!
I use gravity screen and don't lose much battery
Use the power button since it's more reliable anyways ?
Bradl79 said:
I use gravity screen and don't lose much battery
Click to expand...
Click to collapse
There's still a fair amount of battery loss. Oneplus raise to wake seems to be able to do the same action without any battery loss
This was so fine on Op5 and 5T. Open Beta, of course!
Update: I've installed the wave up app. It basically wakes the phone when proximity sensor is uncovered
So when I take the phone out of my pocket, it authenticates my face automatically and unlocks, in a split second. I don't need to touch anything
Similarly if I keep my phone face down on a desk (not ideal), when I flip it over to look at it, it unlocks.
No messing around with d2tw which is more like quadruple tap to wake since this functionality is broken
3473 said:
Update: I've installed the wave up app. It basically wakes the phone when proximity sensor is uncovered
So when I take the phone out of my pocket, it authenticates my face automatically and unlocks, in a split second. I don't need to touch anything
Similarly if I keep my phone face down on a desk (not ideal), when I flip it over to look at it, it unlocks.
No messing around with d2tw which is more like quadruple tap to wake since this functionality is broken
Click to expand...
Click to collapse
Hi i use the original flip case from OP and as soon as i open my case door it unlocks witch is very easy and convenient.
Shall check with tasker.
Update: could not succeed.
I face no trouble in dt2w it wakes as it's intended to and unlocks with face within a split second, face unlock has become slower since the 5.1.9 and in dp3 but still fast enough
If my hand is dirty i just say Hey or Ok google.
Agree. it would be a great thing

Categories

Resources