A simple app to automatically lock your phone based on movement force, or the acceleration to be more accurate.
Private Lock can help protect your privacy and security by monitoring the accelerometer in the background and if the threshold is breached, lock the screen.
The main use cases are if your phone is taken while you're using it, or you drop your phone. As an additional bonus, it can also help save wear and tear on your power button!
- Lock phone when accelerometer threshold is breached
- Animation to help test & visualize lock sensitivity
- Notification when service is running
- Start service on boot option
- Home screen widget
- Pause service for your defined length of time
Device admin permission for locking screen.
- android.permission.RECEIVE_BOOT_COMPLETED (start on boot)
- android.permission.WAKE_LOCK (start on boot)
- android.permission.BIND_DEVICE_ADMIN (lock the screen)
- android.permission.FOREGROUND_SERVICE (run the service)
- android.permission.BIND_JOB_SERVICE (run the service)
To contribute, or to report issues please use the Issue Tracker.
You will need to use your PIN code to unlock when phone lock is triggered, even when fingerprint/pattern unlock is enabled. This is a system limitation and according to Google, a "feature, not a bug".
This is not an issue on rooted phones, however root isn't supported as of yet.
If you experience issues, please make sure battery optimizations are disabled for the app.
Free from ads and tracking.
If you find these apps useful, consider supporting me in some way in my mission to create simple, useful, privacy-oriented, open-source apps.