WaveUp wakes up your phoneโswitches the screen onโwhen you wave over the proximity sensor.
I built this app because I got tired of pressing the power button just to check the time (a surprisingly frequent habit). Inspired by the great Gravity Screen On/Off. I looked for an open-source alternative and just couldnโt find one. So I made it myself!
Checkout the code: https://gitlab.com/juanitobananas/wave-up
A possibly more more up-to-date README: https://gitlab.com/juanitobananas/wave-up/#waveup
Features
โธ Wave mode: Turns the screen on when you wave over the proximity sensor.
โธ Pocket mode: Turns the screen on when you pull your phone out of a pocket or bag.
Both are enabled by default but can be turned off in settings.
โธ Screen lock: cover the sensor for a second (or your chosen time) and the phone locks. Off by default, but easy to enable.
Wait, what's a proximity sensor?
Itโs that invisible little thing near your phoneโs earpiece that turns off the screen when youโre on a call.
Known Issues
Some phones keep the CPU running while listening to the proximity sensor and this drains battery (blame your phone, not me). Most phones donโt, so battery use is minimal.
Accessibility Services
โธ Purpose: Used to lock the screen on Android 9+
โธ Privacy: Used only for this, no data collected
โธ Scope: Doesnโt spy, just locks
Permissions (yep, quite a few)
โธ WAKE_LOCK โ turn on the screen
โธ RECEIVE_BOOT_COMPLETED โ auto-start on boot
โธ READ_PHONE_STATE โ pause during calls
โธ BLUETOOTH / CONNECT โ avoid pausing when on a Bluetooth call
โธ IGNORE_BATTERY_OPTIMIZATIONS etc. โ stay alive in the background
โธ FORCE_LOCK โ lock device (Android 8 and below)
โธ ACCESSIBILITY_SERVICE โ lock device (Android 9+)
โธ DELETE_PACKAGES โ let the app uninstall itself if needed
Uninstalling (Android 8 and older)
WaveUp uses Device Admin permissions, so it wonโt uninstall the usual way. Use the 'Uninstall WaveUp' button in the app to remove it properly.
Fun fact
This is my first Android app and my first open-source contribution! I'd love your feedback or helpโespecially if you're into translations or just enjoy tinkering.
Open source rocks!
Translations
Help translate WaveUp! Even the English version could use improvements.
https://www.transifex.com/juanitobananas/waveup/
https://www.transifex.com/juanitobananas/libcommon/
Acknowledgments
Thanks to all who contributed: https://gitlab.com/juanitobananas/wave-up/#acknowledgments