Remove All Ads from XDA

[Q] Force-enabling the proximity sensor while the phone is asleep

257 posts
Thanks Meter: 136
By keen36, Senior Member on 9th May 2014, 08:33 PM
Post Reply Email Thread
I use the Gravity Screen app to turn my phone's screen on and off automatically. It works almost perfectly, but I have run into a problem: It seems that the Xperia Arc S disables the proximity sensor automatically when the phone is in deep sleep. This only happens if not connected to a charger though, if I connect the phone, it works perfectly.

My question is: Is it possible to force the phone to keep the proximity sensor on in deep sleep when the phone is running on battery? The app offers several work-arounds, like keeping the cpu awake (not very battery-friendly obviously), or combining the proximity check with a gravity sensor check for the phones position before turning the screen on, but the better solution would be to just enable the sensor.

I have tried creating an empty profile in tasker with the task "stop" and the state set to proximity, then enabled display-off monitoring in Tasker, but sadly this only seems to conflict with Gravity Screen's ability to read the sensor.

This whole thing could possibly also help make pocket mode work more reliably on our phones. I noobishly suspect that this change would have to be made on kernel level?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes