yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] plexnor:
Great, it has an easy fix, please, send me a feedback from the app to get debug info. Because I need your model number for this fix.
[Android Apps and Games] deeje00:
Sent.

Sent from my PACMAN MATRIX HD MAXX
[Android Apps and Games] MorphiousGX:
forgive me if this question was answered before. I searched without any hits.

Here is my issue. I love using the proximity off feature. But I have some issues with it and not sure if it's a bug or feature. For example the screen turns off because my fingers covered the sensor briefly when i check out notifications and I pull down close to sensor. OR if I'm using it landscape and my hand or fingers get close to the sensor. I want to use that feature but not sure how to over come these minor annoyances.

I have the Galaxy S3.

Any suggestions welcome or if it's a bug or future feature I'll help test implementation or fix.
[Android Apps and Games] phonesaregood:
Tasker Kill App & Lock Screen Issue

First off, I love the app...I just dont want it running all the time. I use Tasker to set locations and I would only like to run Gravity Screen while I am at my office. 2 problems I can't seem to work around;

1 When I create an exit task when I leave my office to kill your Gravity Screen App it just doesnt kill it. Even with root selected in Tasker. It remains on all day no matter where I am...even if I turn it off it comes back on.

2. I want to have my pattern unlock active everywhere but in my office and no matter what I do Gravity Screen ALWAYS locks my phone when it turns off my screen (unless pattern unlock is completely tuned off). Yes, I tried the delay lock screen app too but that made your app not work properly.

Rooted Nexus 4.

Please advise. I combed through the previous posts and couldnt find anything that led me to any conclusions

Thanks

Oh and did I mention I love the app?
[Android Apps and Games] Zeusc4:
Please let me know if its possible to make it work this way.

1 - When I set it on a Table I just need it to go off. No need for a proximity on. If I want it on, I would pick it up

So Gravity sensor to determine the table position and until it changes.

2 - Whenever the phone is downward it goes off. No need for a Proximity. And when upward its on.

So is it possible for make this Proximity free app ?

This app looks great but using 35% of my battery !!
[Android Apps and Games] ehsan.moeiny:
affecting proximity sensor performance or causing damages?

hi,

As i noticed this app causes the proximity sensor to be always active and was wondering if this can cause any damage to the sensor or reduce it's performance in the future. I'm using the app on Galaxy s3 i9300 international.
[Android Apps and Games] plexnor:
Any direction feature should be turned off.
[Android Apps and Games] plexnor:
1. My app is supports the Locale plugin: Tasker -> Plug-ins -> My app

2. The Alternative options can eliminate the lockscreen, have you tried?
[Android Apps and Games] plexnor:
These sensors can work for 10+ years. You will change your phone probably much earlier.
[Android Apps and Games] ehsan.moeiny:
Thanks for reply.

I've disabled motion sensor but still the app consumes 18% battery checking it with gsam battery monitor app and 30% when I check it in the setting, battery. Any suggestion to reduce battery consumption or fix it somehow? By the way, I'm using Cyanogenmod 10.1 latest nightly on my i9300 international.
[Android Apps and Games] anderson.doan:
The app is great. I love it's accuracy. But I have a problem. I lie it on the table and the screen goes off, but right after that the screen goes on again, and goes off, and goes on. :confused:
[Android Apps and Games] phonesaregood:
I don't see the My App plug-in..

I also do not see any "alternative options" buttons inside Tasker or gravity screen
[Android Apps and Games] spacebar2011:
Try setting your "Turn Screen on by Motion" sensitivity lower than 15.
[Android Apps and Games] kantjer:
It's only called "My app" on Plexnor's phone, on your phone it will be "His app" :silly:
[Android Apps and Games] MorphiousGX:
:confused: Not following.
[Android Apps and Games] kantjer:
Pocket sensor - any direction, make sure it's deselect.
[Android Apps and Games] anderson.doan:
Still the same. I even set the sensitivity to zero but it didn't work.
[Android Apps and Games] plexnor:
Send me a feedback from the app, please, to investigate your issue.
[Android Apps and Games] spacebar2011:
Do like plexnor says. Send him a report from the app and attach a logcat here if you can. Seems like a hardware issue. What device/ROM are you on?
[Android Apps and Games] plexnor:
My support definitely needs support :)
[Android Apps and Games] techfanatic9:
I did an app review and demonstration of Gravity Screen for anyone interseted in it.

The OP can put this on the main thread if he would like to and thanks for the awesome app! :good:

[YOUTUBE]eu4BSRGnaSI[/YOUTUBE]
[Android Apps and Games] kantjer:
I have been trying out the "Turn screen on by proximity" option for the last week and it's waking up the phone nicely by waving over the p-sensor but it has an unwanted opposite side effect for me.

When I have this option activated my phone sometimes turns off the screen in the same way as the Table sensor does (screen goes dark but doesn't lock). This never happens with the "Turn screen on by proximity" option disabled. I tried more then ones and every time I have this option enabled it happens. I even tried setting the keep screen on sensitivity to 100 with Booster "on" and it still happens.

Any idea what can be the cause of this?
[Android Apps and Games] anderson.doan:
Device: Oppo R815t. Stock Rom 4.2.1
[Android Apps and Games] monstrum:
Nexus 4 Problem

Ive been using the App for a few weeks now, on a stock nexus 4 4.3

I don't use the proximity sensor as that interferes with the headphone socket (known porblem on nexus 4) when listening to music.

I have the turn screen ON by motion option set and the screen timeout to 15 mins.

The problem i have is that the timeout never works, I can activate the phone again by picking it up 1hr later, am I doing something wrong or have I misunderstood what the timeout function is used for?

Cheers
[Android Apps and Games] eiriklf:
Not sure if this is the right place, but I have a feature request.

I would really like to have a (homescreen) widget which allowed me to turn the program on or off (pause and unpause). Similar to what TeslaLED does. Bonus points if the widget has an indicator to show if the app is paused or not, or if it was customizable so that you could make a widget for e.g. the turn on by motion or the turn off on table options.

I don't want a persistent notification, and I don't want to open the settings page to do any of this.
[Android Apps and Games] Neuer_User:
It seems gravity screen off sets the display timeout to 15sec. I'd like to keep it at the "auto" setting. Now, everytime I start gravity screen off, I need to go into system settings and reset display timeout manually to "auto".

Is this something special to my configuration or is this a bug?
[Android Apps and Games] kantjer:
Noticed this also today. It took some time before I found out it was this app that was responsible for it.

For now I have set a Tasker profile that sets the display timeout at every screen unlock.
[Android Apps and Games] Neuer_User:
Unfortunately, there is no "auto" setting in tasker for display timeout... :(
[Android Apps and Games] remidesroques:
Simply create a Task in tasker that just do that and connect it to a Tasker shortcut/button. I have mine doing the same thing with a gesture

The line that we can't see at the bottom is endif. It also sets the timeout to 15min when it is off and 15sec when it is on
[Android Apps and Games] phishie:
Hey Plexnor, thanks for the great app, works nearly flawless on my phone.

I'm running CM10.2 on a HTC One XL, my problem is gravity screen locks my phone when it turns it off.

I have "Delay Screen Lock" enabled in the CM10.2 lockscreen settings with "Delay after timeout" and "Delay after turned off" both set to 1 minute. These settings work great when I turn my phone on and off with the button, but not at all when turned on and off with gravity screen (e.g. I have to slide to unlock my phone when gravity screen wakes my screen). This happens MOST of the time, but every now and then when gravity screen wakes my screen it properly goes back to the app/homescreen I was at without having to slide to unlock.

Not sure if your app and these settings just aren't playing well together or if those settings are just not compatible with gravity screen. Let me know if I can provide any other info.

*edit* Also, I have tried the experimental alternative turn off option. That does fix the screen wake up such that it doesn't require unlocking but it breaks screen turn off. Instead of immediately turning off the screen when put down or in my pocket it turns off after the sleep time passes.

*edit 2* Apologies I did not read the full FAQ, you can ignore this post as I now know this is a known issue. For those who also don't know here's the relevant FAQ excerpt:
[Android Apps and Games] phishie:
When my screen is on and I swipe or tap my finger on the proximity sensor I get a small pop up message on the screen that says "Screen on for {x}min" The {x} value cycles through values from 1min to 30min for each successive tap on the proximity sensor, what's that about?

Also, is there any way to turn the screen off once the screen is on without pushing the power button, setting it down face up or setting it down face down? I sometimes turn the screen on without picking it up by tapping the proximity sensor and would love to be able to turn it off again by just tapping the proximity sensor again.
[Android Apps and Games] remidesroques:
The time that you see at the bottom when you put your hand over the proximity sensor is to tell you that your screen is going to stay on for that amount of time. For example if you set your phone on the table, and have the function to turn off the phone immediately while its on the table, this will allow you to keep the screen on to do what you gotta do without having the screen turning off all the time. If you want to use your phone on the table for a longer period Of time then swype over the proximity sensor again and then you will get five minute and so on .

Sure if you swipe over the proximity sensor the screen will turn on. Then it will come off after the timeout that you set in the regular settings of your rom . So using this app you should definitely set your timeout to the minimum I have mine set at 15 seconds. If you want your screen to turn off immediately then just move the phone a little bit while it's on the table and it will turn off right away. If you have to function to turn off the phone while its on the table checked of course.

When I want the screen to stay off no matter what ( in the car, want to clean my screen Etc.) then I use the tasker task that I posted above. I have it triggered with a gesture

Please read a little more the forum about these information, it has already been talked about numerous times
[Android Apps and Games] Neuer_User:
Any chance to contact the developer to have him fix this? It is really annoying... :(
[Android Apps and Games] rockfreak:
Hello and thanks for a really great app !

i've been using for about a week now and it worked great !

i'm facing one problem though. for the past 2 days proximity sensor randomly doesn't work.

Motion wakes up the phone but when i try to turn screen on using proximity sensor sometimes it doesn't work.

If the phone is turn on either by motion or from the power button then proximity sensor starts to work again.

(obviously the app isn't killed by the system since motions works)

I have a nexus 4, stock android 4.3. I've tried uninstalling the app but problem is still there.

Any solution for this one ?

Thanks again
[Android Apps and Games] Trafford Devil:
Hi,

Thanks for making such a great app!

I was wondering if you could make a separate app just for the keep screen on by motion feature?

I find it to be the most useful feature and ever since Screebl stopped being developed I've been using this app.
[Android Apps and Games] deeje00:
Uncheck all the boxes except that one?

Sent from my PACMAN MATRIX HD MAXX
[Android Apps and Games] plexnor:
At the moment I have no idea what causes it. Maybe send me a feedback from the app to get debug info and we can find out something.
[Android Apps and Games] kantjer:
i will try, but I still can't replicate it, it just happens sometimes.

This makes it very hard to make trace off it but I will try.

EDIT: for now just a feeling but it looks like this is happening more often in dim light situations ????????
[Android Apps and Games] plexnor:
You can use the proximity sensors, only you need to do is to tick the Headset support option. And when Headset support is active, you need to untick the proximity on/off checkboxes.

Recently I got some feedbacks about the timeout does not work. Could you help me to investigate the issue?

By this app http://xdaforums.com/showthread.php?t=1179809 you can monitor if the phone is in deep sleep or kept awake. The goal is to find out if my app is keeping your phone awake after the timeout expires. Please set the timeout to 1 min and wait about two minutes. Was the phone awake in the two minutes, if yes, was the Gravity Screen holding the wakelock for all the time? Thanks for your help.
[Android Apps and Games] kantjer:
I guess that sending the debug info using the app's feedback function only makes sense if I do that right after the screen blackout happened or do you want me to send it anyway?
[Android Apps and Games] plexnor:
Thanks for reporting the issue. I'll fix it hopefully shortly. It's a side effect of the Alternative screen off method. Btw how does Auto screen timeout work?
[Android Apps and Games] plexnor:
I think we should concentrate to find out what has happened prior the proximity sensor started not working correctly. Have you installed new apps or turned on some feature which may can interfere with my app?
[Android Apps and Games] plexnor:
You can send me anyway, it's mainly contains your settings only at the moment.
[Android Apps and Games] Neuer_User:
Thanks for helping!

Auto is an intelligent display timeout. I use it because gravity screen off does not work correctly with delayed lock screen.

What it does is have a 1min timeout, if you're holding the device in your hand, and reducing to a 15sec delay, if the phone is lying flat on a table. The screen gets locked after 3min.

I can only use gravity screen off for Pocket detection, because here the screen always locks directly or, using either the alternative or the experimental method (don't remember with one), locks never.

So currently I am using the default method. It's OK for Pocket detection but not if I just put the phone briefly on the table or something similar. In this case I rely on the built in auto timeout.
[Android Apps and Games] rockfreak:
no haven't installed new apps. I've turned on "False Turn on protection in pocket" though. Maybe this option combined with the "turn off screen in Any Direction" option causes this ?. i turned off the Protection in Pocket now , gonna test it for today and get back to you.

i've got another question. when using the False Turn on protection in Hand & car and using the power button to turn screen off, for how long will the screen won't turn on by motion?I've noticed that after about 5 minutes the screen will come on by motion again

Thanks for the reply
[Android Apps and Games] kantjer:
Here you go, my current setting:

--------- FOR DEVELOPER -----

MODEL NR = GT-I9505
currentApiVersion = 17
VERSION CODE =62

--- APP SETTINGS ---

+ angleYX = 75
FLAG_ANY_DIRECTION = false

angleXZ = 12
FLAG_TURN_SCREEN_OFF_IF_LYING_ON_TABLE_FACE_UP = true

FLAG_TURN_SCREEN_OFF_BY_PROXIMITY = true
FLAG_TURN_SCREEN_ON_BY_PROXIMITY = true

FLAG_TURN_SCREEN_ON_BY_MOTION = false
TURN_SCREEN_ON_BY_MOTION_TIMEOUT_SEEKBAR_PROGRESS = 600000
TURN_SCREEN_ON_BY_MOTION_SENSITIVITY_SEEKBAR_PROGRESS = 15
FLAG_FALSE_TURN_ON_PROTECTION_IN_POCKET = true
FLAG_FALSE_TURN_ON_PROTECTION_IN_HAND_AND_CAR = false

FLAG_KEEP_SCREEN_ON_BY_MOTION = true
KEEP_SCREEN_BY_MOTION_SENSITIVITY_SEEKBAR_PROGRESS = 75
FLAG_KEEP_SCREEN_ON_BY_MOTION_BOOSTER = true

TURN_SCREEN_BY_PROXIMITY_ALTERNATIVELY = false
FLAG_TURN_SCREEN_OFF_BY_TIMEOUT_ALTERNATIVELY = true

FLAG_VIBRATION = false

HEADSET_CHK_BOX_SET = false
FLAG_TURN_SCREEN_OFF_BY_PROXIMITY_IN_HEADSET_MODE = true
FLAG_TURN_SCREEN_ON_BY_PROXIMITY_IN_HEADSET_MODE = true

FLAG_SCREEN_LOCK_DISABLED = false
NOTIFICATION_CHK_BOX_SET = false

------ DEVELOPER PART END ------

Hi,

<If you report a bug, please explain the issue in details. >
[Android Apps and Games] ahrion:
My battery drain is insane on my LG Optimus G Pro. Any chance of getting some more battery optimizations?
[Android Apps and Games] rockfreak:
After turning off Protection in Pocket the proximity sensor still stops working randomly. I've also tried turning off "Turn On by Motion" but the problem is still there.
[Android Apps and Games] plexnor:
The screen should have never turn on alone in False Turn on protection in Hand & car mode. Interesting your finding. No one reported problem like this earlier.

Thanks for updating this issue. I have no idea why the proximity stops working sometimes. Please send me a feedback from the app to see your settings.
[Android Apps and Games] plexnor:
Thank you for the explanation. I released a new version of the app, please let me know if it works better for you.
[Android Apps and Games] plexnor:
Thanks for sending your settings. I released a new version. Please, let me know if the 15 sec. problem improved.
[Android Apps and Games] plexnor:
If it fails to turn off the screen sometimes it's probably because the proximity sensor can not work well with the material of your trouser.

From the FAQ:

"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. If it happens to you too often, you can turn off the Turn Screen On by Proximity feature. By doing this the screen will still turn back on but it'll use from now the Turn Screen On by Motion feature which cost little bit more energy.

"
[Android Apps and Games] plexnor:
Thanks for the finding. Looks like there are some Log.w() instead of Log.d() in the code. Thus every 30ms if the phone is moving comes the message in Logcat.

I changed it already, in next release will be fixed.
[Android Apps and Games] :
Thanks, can't wait for next release ;)

By the way, May I know what's the difference between this and PRO version in the Playstore? :highfive:
[Android Apps and Games] xCookie:
Excellent app!

I must admit that this is 1st app among similar that is working as it is planned to work. (Xperia sola, stock ics with r00t and some mods)

Now, I know that this is app for screen only but can you add some audio lines in it? If answer is no then no harm done I've already pressed thank button. If answer is yes:

- Can you add put phone in silent mode if it lay face down on table?

- Can you add automatic volume decrease for rings and notifications if app recognize that we already using phone?

Thanks in advance!
[Android Apps and Games] karinkato:
awesome app

Dear Dev,

firstly thank u so very much for this lovely awesome app...

once again thank u so very much .. :)

the only problem m facing with app is it does switch screen ON again after it goes off

but when i put my phone facing down on the table and pick up again then it works...

might be m making some wrong settings. or is some thing else ...

waiting for ur kind answer

thanks in advance
[Android Apps and Games] JuanG:
I don't use your app but I saw a video in youtube and it seems amazing. High quality and great work!
[Android Apps and Games] plexnor:
First of all I'm happy the app works fine on your phone and you are happy with it. I was planning to add audio features at the beginning similar what you recommended, but that time was developed the IntelliRing app which does a good job in ring volume control. Thus I'm using it and it works with my app fine.

Put the phone in silent mode if it lies face down sounds at first good, but it's not actually too good idea, because with my app it's recommended to keep the phone face down to get the most energy efficiently way the "turn the screen on" feature. Thus it would cause some missed calls when you want to save energy, as it happened to me already when I activated this feature in third party apps.

Anyway I'll consider again to add some audio features.
[Android Apps and Games] plexnor:
I'm happy you like it, thank you.
[Android Apps and Games] clinta:
This app is awesome. works flawlessly on my xperia S
[Android Apps and Games] plexnor:
Hi, it looks like the "Turn Screen On by Motion" feature does not supported by your phone. It was reported earlier by another Motorola Defy owners (I guess you are using this device) and probably it is the case for you too. But you can still use the "Turn Screen On by Proximity" feature which is quite good as well and even uses less energy.

I suspect that your device shut down the acceleration sensor at the screen off event but it probably let my app to keep a wakelock. Thus it's recommended to untick the "Turn Screen On by Motion" feature to make sure your device do not waist any juice for holding the wakelock. Thanks for your kind words and giving the feedback.
[Android Apps and Games] karinkato:
yes i have motorola phone running cm10

isn't there any possible way so that we motorola users can use motion sensors

thanks in advance :)

p.s. if motion sensor is not working properly then why phone is switching off the screen when putting it on a table
[Android Apps and Games] plexnor:
Thanks for the feedback!
[Android Apps and Games] gidi:
Dear plexnor,

Is there any hope for an imwatch compatible version or do we forget it?

Thanx anyway!!!!
[Android Apps and Games] plexnor:
I answered it already but probably you have not read it. So the app as it is, can run only above android 2.1. But I deleted some parts of the code and you can install it on your device. Turn off the screen and some another features already gone. Probably it won't be big success but maybe it's worth to play with this little bit. That's all we can do at the moment. Find the apk attached.
[Android Apps and Games] gidi:
I have read your previous reply but Itbwas not clear par to me whether you intended to try smth or not.

Thank you very much for providing this API level4 version.

I will test a and get back to you.

THANKS AGAIN, YOU ARE THE MAN!

Just installed it and the app force closes when i open it. Process com.plexnor.gravityscreenofffree unexpectedly terminated.
[Android Apps and Games] plexnor:
There is not too much hope this problem can be solved easily (http://xdaforums.com/showthread.php?t=1412593) but it's not related only to your motorola, many another android devices are effected as well. However I added a hack to the code which may help. Apk atteched.
[Android Apps and Games] plexnor:
Sorry about it. Looks like removing the functions above API level 4 was not enough. There are another incompatible parts but from now to find the culprit piece of code would be a too much job, I'm afraid. Anyway I'll think about the problem little bit.
[Android Apps and Games] dokuzcanlicanavar:
i'm using pro on my sgs2 for a few days

working like a charm and i haven't any issue for now

impressed work, awesome app :good:

thx
[Android Apps and Games] karinkato:
Yipieee

it worked like charm....

awesome app brother

will going with pro version very soon..

and thank you for your precious time...

+1 RESPECT:good:

---------- Post added at 03:45 PM ---------- Previous post was at 03:38 PM ----------

one last question what is the average battery usage of this app?

it is taking 20% in my phone is this normal