Will Verduzco · Jun 3, 2013 at 04:00 am

Intelligently Control Your Screen with Gravity Screen Off

Sometimes, standard screen control logic just doesn’t work as efficiently as we’d like. We can tune the settings to turn off our screen after a very limited duration of inactivity, but doing this will make the device a little bit of a burden to use, as we have to periodically tap our screens to keep them awake. On the other end of the spectrum, setting too long of a time will drain your battery unnecessarily. Now we’ve established that we need to tune the auto-off timer to our preferences, but who’s to say our preferences are constant despite ever-changing situations and demands.

Thankfully, this is where Gravity Screen Off by XDA Senior Member plexnor comes in. Created out of necessity and frustration, this app intelligently controls your screen by taking a look at how you use your device. Knowing that you’re not likely to use a phone when it’s resting on a table, Gravity Screen Off monitors your orientation sensor to determine its angle. If it’s close enough to horizontal, your screen turns off because it’s not likely in use. What about when you lift your phone? Good question; the device wakes up so long as nothing is covering the proximity sensor. Furthermore, the screen is kept on if motion is detected, extending the screen timeout.

The features, as described by Plexnor:

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

Sounds like something up your alley? If so head over to the application thread.


_________
Want something on the XDA Portal? Send us a tip!

Will Verduzco

willverduzco is an editor on XDA-Developers, the largest community for Android users. Will Verduzco is the Portal Administrator for the XDA-Developers Portal. He has been addicted to mobile technology since the HTC Wizard. But starting with the Nexus One, his gadget love affair shifted to Google's little green robot. He is also a Johns Hopkins University graduate in neuroscience and is now currently studying to become a physician. View willverduzco's posts and articles here.
Jimmy McGee · Mar 31, 2015 at 07:00 am · no comments

Fix Lollipop Memory Leak – XDA Xposed Tuesday

Unfortunately there was a memory leak in Android 5.0.x Lollipop. Thankfully it was fixed in Android 5.1. However, at the time of this video Xposed Framework doesn’t have Android 5.1 support. So you are faced with a choice of fixing the memory leak or running your Xposed Modules. Or are you? In this episode of XDA Xposed Tuesday, XDA TV Producer TK reviews an Xposed Module that adds the Android 5.1 memory fix to pre 5.1 Lollipop devices. The module...

XDA NEWS
Mario Tomás Serrafero · Mar 30, 2015 at 11:00 pm · 2 comments

Would The LG G4 Fare Well With The Snapdragon 808?

The LG G4 has a lot to prove, given that last year’s LG G3 was among the best smartphones of 2014. The Global Mobile Awards given out during the time of MWC 2015 named it the Smartphone of The Year (SOTY?) alongside the iPhone 6, and at the time of its release it packed the very best in Android specifications, from the powerful Snapdragon 801 to the class-leading 1440p display. The camera, battery life and feature set were also deemed...

XDA NEWS
GermainZ · Mar 30, 2015 at 02:41 pm · 3 comments

DexPatcher: Patch Android APKs Using Java

You've probably seen or installed modified applications, be it a patched dialer for your resolution or a custom WhatsApp version with added features. How do developers do that, though? A lot of the time, the applications' source code isn't even available, so how does it all work? We'll see that first, then take a look at a new tool that aims to make the process much easier, and finally compare it to the popular Xposed framework to see how they...

XDA NEWS
Share This