Skip to content

wesaphzt/privatelock

Repository files navigation

Private Lock

License

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.

Features

  • 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

Requirements

Device admin permission for locking screen.

Permissions

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

Issues

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.

Privacy

Free from ads and tracking.

License

GPL v3.0

Tips

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

BTC: 1GCkvAg9oG79niQTbh6EH9rPALQDXKyHKK

LTC: LV687s3wVdhmLZyJMFxomJHdHFXeFAKT5R

ETH: 0x785a8804c85b88683a5cce5e53f60878831e5d03

XMR: 43Vijzdt3y42mmT954rSYPjXYabDsjYEV2KyhxfC46JibR2ny9VmRS1fjdJTHxxPVPFE8ajgArwjWfyaRgjh9vcNAwmkfJj

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages