yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] SyCoREAPER:
Also [MENTION=4914137]plexnor[/MENTION]

I guess I never noticed that since I primarily bought the pro for the power button setting.

ANYWAY

I tried excluding the Camera but the screen still shuts off via the sensor.

LG G3 - VS985

Stock Android Lollipop 5.0.1
[Android Apps and Games] Eternal Enigma:
Gravity Screen Pro

Hello, first I'll say this is one of the most useful apps ever made, but I keep having a reoccurring issue where the Gravity Screen app stops functioning completely. To correct this I must open the app, turn it off, and turn it back on. I have the paid version and I have it setup so that it doesn't timeout so it should never stop running.

If I'm not paying attention and I lay my tablet face down while the Gravity Screen app isn't functioning my screen won't turn off and it runs my battery down. This happens frequently enough that I created a shortcut to the app for quick access so I can turn it off and back on to effectively 'reset' the app. Also, I have not adjusted any of the settings. It's the default settings for the paid version with timeout set to infinity.

I'm using a second generation Nexus 7 running stock Android 5.1.1...

Any help would be appreciated. Thanks!
[Android Apps and Games] plexnor:
It looks like Android killing the service on your device for some reason ...
[Android Apps and Games] plexnor:
On some devices this feature may not work but you can read FAQ [7] for more methods.
[Android Apps and Games] SyCoREAPER:
Prior to posting I'd already tried everything except tasker. What exactly is the profile I need to make?
[Android Apps and Games] Eternal Enigma:
Alrighty, what would be the best method for troubleshooting this issue? :)
[Android Apps and Games] Nursi:
Nexus 4

5.1.1

I'm having an issue with Smartlock. In that Smartlock doesn't work with Gravity running. I pull the phone out of my pocket and the home screen lights up, I then have to pull up the home screen and then enter my unlock pattern. I like the app but it's hardly worth using it if it makes me have to do more to get into my phone.

Don't get me wrong, I like the app, if I can get past this problem I'll probably go for the paid version.
[Android Apps and Games] mooiemeneer:
Do you use Greenify?
[Android Apps and Games] plexnor:
You can try the Smart lock support option.
[Android Apps and Games] Eternal Enigma:
Nope, I don't use any automated app killers or anything like that. I'm not sure what might be interfering with the proper operation of Gravity Screen. I know it automatically shuts itself off to save battery life via user controlled settings, but that's why I purchased the PRO version so I could set it to infinity to allow the app to run continuously.

Besides automated app killers what other types of apps can interfere?
[Android Apps and Games] nachomagic:
Hi [MENTION=4914137]plexnor[/MENTION]

I'm trying to screen off via tasker and I wonder if gravity can do it. Actually I'm using tasker system lock command but after the screen is off it became on again (i think that gravity does it) so I would like to use something like your latest widgets (turn screen off: It's like pressing the power button) but in tasker.

Is there any way to do it? I only see in tasker an option to resume/start gravity

Thanks in advanced
[Android Apps and Games] GigabitEthernet:
Any update on activating Ambient Display instead of going to the lockscreen? :)
[Android Apps and Games] SyCoREAPER:
Assistance would be appreciated
[Android Apps and Games] weaverinva:
Help needed, please.

Was using the alternative proximity sensor method in delayed lock menu. Works very well but takes enormous battery because it leaves wakelocks very active.

Experimented with the lock options. Used delayed lock. But ahhhhh it did not accept my pin and said it was wrong. I could not adb in to change things so via recovery I needed to try something, so I deleted the gravity screen apk.

Now I have a spurious entry in device administrators. How can I get rid of that?
[Android Apps and Games] ironia.:
reinstall the app and then uninstall?
[Android Apps and Games] spirulina:
I'm going to test it )))
[Android Apps and Games] Joy Bangla:
Is there a way to disable the shake to lock function? I only want to use the proximity sensor to wake function. All other options can be turned off?
[Android Apps and Games] ajeesh vijayan:
+1

pls add an option
[Android Apps and Games] IRONLUNG:
I little problem.....I'm unable to deactivate gravity screen's administrator access? Therefore unable to uninstall. Any help is appreciated.
[Android Apps and Games] hanschke:
is there a beta opt in?
[Android Apps and Games] PhilDX:
settings > security > device administrator
[Android Apps and Games] :
Greetings, so did anyone facing problem with gravity screen not working after reboot or battery pull. Does anybody know a fix to this?
[Android Apps and Games] ieatacid:
Can you add a way to enable/disable 'lying face up' in the tasker plugin?
[Android Apps and Games] Rodrigocezanoski:
Comprei o aplicativo gravity screen pró e não recebi ele como que posso instalar ele

Oque posso fazer
[Android Apps and Games] dmaco:
Yeah, I'm having similar issues with the Smart Lock. When I leave my phone down flat, after a few seconds Gravity tries to turn off the screen. But the screen goes black, but it's still back-lit.

When I do lift the phone up, the smart lock works, but as soon as I tap my home button on my LG G3, it's ask me to enter my pin. Definitely some issues here after a week of testing. Other than that excellent app, if my issue was sorted, I'd purchase.

Thanks. Darren.
[Android Apps and Games] dmaco:
If anyone else is having issues with this the LG G3 lock screen (as above), there is a device setting:

Settings > Display > Lock Screen> "Power Buttons instantly locks" ... Uncheck that, seems to fix the issue with the lock screen activating when taping the native home button.

Works perfect now.

Thanks.
[Android Apps and Games] plexnor:
You can set the angles to zero.
[Android Apps and Games] plexnor:
Open BETA testing link:

https://play.google.com/apps/testing/com.plexnor.gravityscreenofffree
[Android Apps and Games] ieatacid:
Or even an intent that I could broadcast with tasker? [emoji7]
[Android Apps and Games] twistednl:
Hi! I have a HTC M8 and have an issue with the paid version. The lock is constantly getting triggered when the screen goes off. The open application is still visible when waking the device but before I can do anything with the app or the whole phone, I first need to press home and slide the lock up. The open app is over the lockscreen in other words. How do I need to setup Gravity screen to avoid that?

Thanks!
[Android Apps and Games] ajeesh vijayan:
setting zero disables it..but gravity screen still analysing motion data..GSam battery shows gravity screen sensor usage..it shows increasing time for accelerometer even if angle set to zero..that means gravity screen still polling accelerometer.. can we have an option to completely disable it..it will be nice to gave options ..I use this app for waking with proximity..

thank you for this great App..

sorry for my English
[Android Apps and Games] gartzen:
+1
[Android Apps and Games] raings:
From this latest update by pressing the button to turn off closes and appears the message has stopped the application. It does not work keep on for the movement screen. Nexus 5 with android 5.1.1. Thanks for a great job
[Android Apps and Games] (THE REAL) Neo:
Quote.

Both in my Nexus 4 and Nexus 5,does't work the Keep screen on by movement.

The screen turns off on normal time out.

Inside the application options,the number showing the sensitivity of the accelerometer, don't blink anymore on phone's movements.
[Android Apps and Games] raings:
With this new update, and it works back to 100%, thank you very much for correcting fast.
[Android Apps and Games] plexnor:
Sorry about this, it's fixed now.
[Android Apps and Games] (THE REAL) Neo:
Thanks a lot!

You are a really good developer!
[Android Apps and Games] raings:
Now it works perfect.

Thank you
[Android Apps and Games] plexnor:
Monitoring the acceleration sensor does not consume too much energy, it's like using the automatic screen rotation.

But in the next version I'll change it, if both angles are set to zero the app will not monitor the sensor.
[Android Apps and Games] ajeesh vijayan:
thank you for the consideration
[Android Apps and Games] Harrison Solo:
I already paid for this and I uninstalled because I needed the space & when I went to install it's asking for payment again please help.
[Android Apps and Games] dimiav:
Hello,

[MENTION=4914137]plexnor[/MENTION]

thank you for the great app, there is a an issue with the current permissions of the app

you are using old and deprecated permission:

from Logcat:

getTasks: caller 10203 does not hold

REAL_GET_TASKS

; limiting output

# dumpsys package | grep -A1 "userId=10203"

userId=10203 gids=[3003]

pkg=Package{241c80df com.plexnor.gravityscreenofffree}

which get blocked and won't exist on security patched phones (its part of CVE-2015-3833 vulnerability ).

basically that effects the "exclude apps" feature. on my device this feature doesn't works.
[Android Apps and Games] plexnor:
If it asks you to pay again, it means you are signed in under different account in the Play app.

If no luck contact me from the app.
[Android Apps and Games] Almighty1:
I have a question, what is the purpose of the Exclude apps list, what does it actually do when you exclude since shouldn't it be Gravity Screen that should be excluded by other apps like PowerNap.
[Android Apps and Games] dimiav:
it allows you to auto pause or auto resume by condition of which app is on the foreground.

for example. lets say you have a game like angry birds. when you at the game, you don't want to mistakenly go over the sensor with your finger and turn off the screen in the middle of throwing the big bomb bird. it will totally ruin your 3 star achievements.

basically apps that you know that IF they active on the screen, THAN Gravity should be paused.

I use it mostly for navigation apps. but because this feature isn't working for me (bug reported two post above) I use Tasker. which pauses Gravity at entering list of apps and resuming respectively.
[Android Apps and Games] Almighty1:
Thanks for the detailed explanation of what that feature is for... So basically it's whenever those apps are run in the foreground, for the app to be inactive.
[Android Apps and Games] dimiav:
Well if you prefer the short explanation with no angry birds example, than yes, this is exactly what it is.
[Android Apps and Games] Almighty1:
I was lost earlier as I remember reading somewhere on another forum that someone excluded Greenify and that one just seem weird. I know with Powernap, I had to add Gravity Screen and Greenify to the exclude list there as the phone screen would not turn on...
[Android Apps and Games] twistednl:
Anyone?
[Android Apps and Games] ironia.:
just installed v2.4.0 beta 1, with table sensor active, the app crash

android MM stock

nexus 5

solved, i uninstalled the app, reboot and than reinstall ;)
[Android Apps and Games] bknightt:
installed 2.40.1 beta on MM stock nexus 5, but the app stops working from time to time, is it normal? like, 1hr after the screen is locked, the app doesn't do anything.

Thanks
[Android Apps and Games] ajeesh vijayan:
thank you ..

tried 2.40 beta ..set the motion sensor angle zero for both..now App doesn't read accelerometer if angle set to zero..
[Android Apps and Games] latino147:
Hi Plexnor, after a while I'm back on an LG G3 stock ROM (5.0) as I was fed up with AOSP roms being laggy or the camera being crappy.

But to my horror the exclude list in Gravity Screen is still not working. I've granted GS access in phone administrator as you can see, but it won't work.

The Apps with usage Access you've mentioned above, is that the same as phone administrator nowadays?

To all: anyone having the exclude list working properly on a LG stock rom?
[Android Apps and Games] ajeesh vijayan:
settings-security-apps with usage access
[Android Apps and Games] rob151515:
Not working all the time?

Great app - it's a lifesaver for my Nexus 5 with a broken power button. The problem I'm having is that sometimes I put my phone face down on my desk and when I pick it up the screen doesn't come on. Most of the time it works fine but every now and then it doesn't which is very frustrating...

I have Marshmallow installed so I'm not sure if this may have something to do with it? Maybe it is not playing well with Android's new doze feature?

Thanks.
[Android Apps and Games] latino147:
That's the thing, i don't have that option in the LG rom.
[Android Apps and Games] Oasis44:
I'm in same case; Nexus 5 Stock Rom, from OTA to Marshmallow, this app start to fail and I can't identify when, not only on face down, also on pocket screen off (not any problem on 5.1.1)

Sometimes Gravity Screen appear as stopped (I can see it on my desktop Chrome with Pushbullet notification)

Regards.
[Android Apps and Games] silvertrain78:
Same as you and previous member. GS works ~75-80% of the time when I pick it up to activate screen.. Very inconsistent. And I have it white-listed in Android system battery optimization.
[Android Apps and Games] jdock:
Gravity Screen shows a lot of promise in making my phone better, and after using it for a few days I had an idea that would make it perfect for my needs, if it is possible to do. Please forgive my lengthy explanation of a simple idea:

One of my biggest gripes about the Samsung GS5 is how peskily-easy it is to pocket-dial because of things that unlock the screen at times when there is no reason to do so (because the phone is in my pocket). When I had kitkat, I spent a lot of time and effort disabling those things. One of the biggest offenders is the home button because it is VERY easily accidentally pressed - when putting the phone in my pocket, when pulling it out, when doing nothing at all. The wanam xposed feature to disable it was a godsend. But now I have Lollipop, and xposed on Lollipop is not something I'm ready to delve into yet, so I am really missing that function (although all the other screen-waking offenders seem to be gone now). The trick of changing the key map file doesn't work in Lollipop either because the home key is grabbed specially by the framework, and I don't know why the Android developers thought this was necessary, but it wakes up the phone if the screen was off.

So I turned to Gravity Screen due to its proximity sensor function. Now, if I accidentally press the home button while the phone is in my pocket, it automatically re-locks. The small problem is there is a delay of 1-2 seconds for this to happen, so it is still possible for the phone to engage in shenanigans (especially if there are notifications on the lock screen) - but it is now much less likely. While I would prefer wakeups to be completely ignored if the phone is in my pocket, I realize this delay is probably necessary in order to receive the wakeup message and check the sensors. So here is what I would absolutely love: for Gravity Screen to be able to ignore the home button as much as possible while the screen is locked.

Since I don't think there's any way (in Lollipop) to prevent the wakeup by the home button, basically how I envision this working is that when this mode is enabled, if the home button was pressed and the screen was previously off, gravity screen would not even bother to check the sensors, but immediately re-lock. Understandably there will still be a short period while the screen is active and I don't think there's any way to avoid that in Lollipop. But the timeframe would be minimized by virtue of not checking any sensors.

Am I alone here?
[Android Apps and Games] ironia.:
Widget needs to be fixed on m?
[Android Apps and Games] plexnor:
On Nexus 5 after the M update the proximity sensor drive is faulty unfortunately. Hopefully Google will fix it soon.
[Android Apps and Games] plexnor:
For Nexus 5 users: it's not recommended to install the Android Marshmallow OTA upgrade at current state. Looks like it brings a buggy proximity sensor driver causing GS unreliable.
[Android Apps and Games] plexnor:
It should be instantaneous or have you selected the Any direction option?
[Android Apps and Games] jdock:
Ah yes, I had selected the any direction option. Turning that off makes it quicker to re-lock - less than a second. My reasoning for choosing this was that the proximity sensor is more important to me than the orientation of the phone, since pocket unlocking is probably a little more likely when I am sitting down or moving around a lot.

I can see the importance of the delay in that mode now that I think about it (otherwise it would lock too often when just brushing by the sensor). So I am still looking for a slightly different mode of operation to better protect against pocket unlocks. Maybe an option to skip that delay IF the screen has just been unlocked and the proximity sensor thinks it is still in my pocket.
[Android Apps and Games] silvertrain78:
The proximity sensor bug is also in factory image, FYI
[Android Apps and Games] bboyfeiyu:
good

:good::fingers-crossed:
[Android Apps and Games] Oasis44:
Thanks for your answer plexnor.

I think is not only proximity sensor, cause it doesn't stop app and, as I said, I can see on chrome pushbullet notification that app appear as Stopped.
[Android Apps and Games] casioman1:
Hi, have you ever noticed that the screen doesn't go off when you leave the device e.g. on a table? It doesn't happen always but quite often. It's annoying tbh as I have set 30 sec screen timeout.

Apart from that, I love this app.
[Android Apps and Games] Joy Bangla:
Can you please add a scheduler to auto pause gravity screen like at night time. This will really help my battery. Thanks.
[Android Apps and Games] nickname_marco:
Hello guys,

running the latest (paid) version of the app on a Note 5.

Just wondering - it looks like that, when I pause the app, a new notification (for example, new sms) resumes it. Is it normal ?
[Android Apps and Games] Farukhuhuh:
Hi there! Been looking forward to using your app, but the list of permissions has me worried (4.4.4 (KitKat) here, so no selective permissions for me yet). Could you please explain what you need each of them for? The ones I'm most interested in are:

1) "update component usage statistics"

2) "modify system settings"

What do you do with them exactly? "Draw over other apps" could also be interesting, although in its case I can at least think of a use case.

And, frankly speaking, I would be much more comfortable with a separate PRO version on Google Play, without "full network access" as a permission. This app doesn't serve ads, nor helps us access web services - yet runs in the memory constantly. So, asking for unlimited net access and in-app purchases just to upgrade to PRO is overkill, imho.

Great app otherwise - really thought-out usage of sensors in combinations with each other, as well as nice UI design (mostly, with exceptions like the pause-resume widget - it, bizarre as it is, reminds me of swastika).
[Android Apps and Games] elkkr:
I tried uninstalling the app via the app itself, I get a "Cannot uninstall because so is device administrator.

Yet I can't deactivate it from being so. What is the problem?
[Android Apps and Games] Oasis44:
Exist any log for view what is the dispatchers for change Stop/Start Gravity Screen?

If no, it would be an interesting feature.
[Android Apps and Games] specialex:
i already a beta tester, but i can't update it

it says "can't install app, gravity screen is already installed"

edit

solved
[Android Apps and Games] plexnor:
Probably the Keep screen on by motion sensitivity is set too high on your device.
[Android Apps and Games] plexnor:
That is not normal. Please send me a feedback from the app.
[Android Apps and Games] plexnor:
Try to do a reboot in this case.
[Android Apps and Games] casioman1:
Just have changed sensitivity from 50 to 20, I'll post if there's any difference. Thanks for your reply :)
[Android Apps and Games] arjcba:
Hi, another N5 problem.

I only use "Turn screen on by proximity sensor" to turn the screen on (and nothing else) and It works 90% of the time, but since marshmallow the battery consumption is near 10% and It was stable 1-2% before Android 6.

I know the you are working on this, is there a beta test program or something available? I'm in!

oh, and even disabled, the "table sensor" is enabled...
[Android Apps and Games] nickname_marco:
thanks for your reply.

i did so many tests some weeks ago that i got a bit confused ; )

when the app is paused, it holds its state perfectly.

however, if you turn on the power button support and you get a text, the display turns on, it turns off after a few moments and then the app kicks in again. is it normal? i was expecting the app to be on hold until the power button is pressed again.
[Android Apps and Games] plexnor:
That's very interesting. So far no one reported issue like this.

And does it happen only if you get a text? For example you can wake up a device by unplugging the charging cable from the main, does that causes the same issue?
[Android Apps and Games] Vaetheran2107:
I have a problem on my oneplus one.

Seems the phone is running into screen brightness issues when I use the app to often.

It works without problems but all the sudden the screen is dimming down low after being unlocked undid keeps dim until I open an app. Then it changes back to set brightness and dims down again after leaving the app and so on.

Rebooting does help but the not for long.

Maybe it's caused by the times the proximity sensor is used? That's the only option I use to unlock.

For now I paused the app and unlock with the power button and the problem didn't show again since.

Any advice on this? Don't want to leave Gravity Screen just because of that.
[Android Apps and Games] NotFromMountainView:
I have almost the exact same problem on my Nexus 5. Shorter period though - just installed Gravity last night. Just an hour ago it started dimming my screen to a nearly unusable zero. It does brighten up again for *some* apps, but not all (Chrome for example, unfortunately). Stopping the app didn't bring back the brightness, had to reboot. As far as I could tell everything else seemed normal & working -- but I hardly had time to give it a good workout. :) One strange quirk I did notice is that when the phone is placed face-down it does not turn off the screen immediately, instead it dims the screen for several seconds. I don't know if this is intentional, but it seems like it could save some amount of power by going straight to off.

(N5, stock, M with latest security update, unrooted.)
[Android Apps and Games] Vaetheran2107:
First phone I have this problem.

Before on my nexus 4 or desire hd it worked flawlessly
[Android Apps and Games] nickname_marco:
i just tried its behavior with a missed call; so:

- turn on power button support

- lock the phone with power button (and subsequent test to check that gravity screen is effectively paused)

- missed call, screen turns on

- screen turns off after a few moments

- waving with the hand over the proximity sensor, as well as moving the device, wakes the phone up

i suspect that the fact that the screen turns on inhibits the operation of gravity screen.

in fact, if i get a whatsapp message, the screen does NOT turn on and gravity screen is held until i wake the device with power button, unlock it and let gravity screen lock the device again.