Have you ever wished that your device could sleep and wake with intelligence? You’re not alone. After all, that’s why many recent devices ship with magnetic sensors that allow compatible smart covers to “magically” wake the device right when you want to use it.
Unfortunately, not every device has such functionality built in. These devices do, however, have a cornucopia of other sensors that can be used to the same end. Making use of all of the sensors at your device’s disposal, XDA Forum Member Akshay (Aky) presents Cover Algorithm. How does it work? Well, according to the developer:
The most innovating app for Locking & Unlocking your Device.
It uses various sensors of your device like Proximity, Light, Accelerometer, Magnetic Sensors depending upon
which Sensor you choose.
Using, these sensors the app determines whether to lock or unlock the device using some special algorithms
In addition to being able to configure various sensors to wake the device and put it to sleep, the app allows for extensive customization. For example, you can make it so that this functionality is only present at certain hours of the day. This could be useful both to save battery, and also to ensure that an accidental input doesn’t turn on your device’s blinding screen in the middle of the night.
The app has much more functionality and customization, so be sure to check out the original thread to learn more and customize your device’s sleep/wake cycles to your OCD’s content._________