Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Latest commit 36bb398 Sep 20, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea gradle update Sep 7, 2019
app release 1.2 Sep 20, 2019
fastlane/metadata/android/en-US release 1.2 Sep 20, 2019
gradle/wrapper gradle update Sep 7, 2019
.gitignore Initial commit Jul 3, 2019
LICENSE Create LICENSE Jul 3, 2019 Update Jul 3, 2019
build.gradle gradle update Sep 7, 2019 Update Jul 4, 2019
gradlew Initial commit Jul 3, 2019
gradlew.bat Initial commit Jul 3, 2019
settings.gradle Initial commit Jul 3, 2019

Private Lock


Get it on F-Droid

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!

Inspired by the abandoned PluckLockEx project, which is based on PluckLock.


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

Known Issues

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.


GPL v3.0


If you find these apps useful, consider supporting me in some way in my mission to create simple, useful, privacy-oriented, open-source apps.



ETH: 0x785a8804c85b88683a5cce5e53f60878831e5d03

XMR: 43Vijzdt3y42mmT954rSYPjXYabDsjYEV2KyhxfC46JibR2ny9VmRS1fjdJTHxxPVPFE8ajgArwjWfyaRgjh9vcNAwmkfJj

You can’t perform that action at this time.