Pocket Mode is an Android app that locks your phone when you cover the proximity sensor.

I have developed this app because stock Android lacks this feature and my phone always changes something or disables important things while laying inside the pocket. Seriously, this had to be stopped.

The app is completely free and open source, the donations are welcomed but do not provide any benefit for the user.

How does it work:

Pocket mode monitors the proximity sensor for a fraction of a second after turning the screen on. If in this time window the proximity sensor has been covered for a defined period the app turns the screen back off.

Used permissions explained:

- Accessibility service -- Pocket Mode uses accessibility service to send the command that locks the screen. Without it locking the screen would require a PIN code on each unlock, ruining the user experience.
- android.permission.RECEIVE_BOOT_COMPLETED -- needed to restart the service after a reboot.
- android.permission.READ_PHONE_STATE -- needed to pause screen locking while call is ongoing.

All versions

Version:1.9.6.0

Uploaded:November 30, 2021 at 7:09PM UTC

File size:2.64 MB

Downloads:18

Version:1.9.5.0

Uploaded:November 18, 2021 at 8:58AM UTC

File size:2.63 MB

Downloads:12

Version:1.9.2.0

Uploaded:November 18, 2021 at 1:52AM UTC

File size:2.63 MB

Downloads:3

Version:1.9.1.0

Uploaded:November 15, 2021 at 6:01PM UTC

File size:2.63 MB

Downloads:11

Version:1.8.4.0

Uploaded:August 26, 2021 at 12:58PM UTC

File size:2.56 MB

Downloads:26

Version:1.8.3.0

Uploaded:July 13, 2021 at 10:40AM UTC

File size:2.56 MB

Downloads:21

Version:1.8.2.0

Uploaded:July 4, 2021 at 10:18AM UTC

File size:2.55 MB

Downloads:14

Version:1.8.0.0

Uploaded:July 3, 2021 at 12:41PM UTC

File size:2.55 MB

Downloads:16

Version:1.7.2.0

Uploaded:June 26, 2021 at 12:15PM UTC

File size:2.55 MB

Downloads:12

Version:1.7.1.0

Uploaded:June 25, 2021 at 6:52PM UTC

File size:2.54 MB

Downloads:9