[Feature]: Pocket detection: pause for this flashlight session if I turn the light back on within 20s
Maintainers usually reply within 1 day
@sameerasw is already working on this.
Since Sep 28, 2026.
Assessment
This issue has not been assessed yet.
Description
Problem Statement
Pocket detection turns the flashlight off whenever the proximity sensor is covered. It can't tell a pocket from other situations, so it also triggers when I want the light on.
Examples:
- Phone leaned against a wall
- Phone upside down or lying on a surface
- Phone in a stand or flip case
- Phone standing in a cup as a lantern
Current workaround: disable Pocket detection completely. Then I lose the protection in real pockets.
Proposed Solution
If I turn the flashlight back on within 20 seconds after Pocket detection switched it off, pause Pocket detection until I turn the flashlight off again.
Workflow:
- Turn the light on and lean the phone on a wall or upside down.
- Pocket detection turns it off.
- I turn it on again within 20 seconds.
- It stays on (Pocket detection paused for this session).
- I turn it off. Pocket detection is active again next time.
No new setting needed. Real pocket cases stay protected.
Alternatives Considered
Priority
Medium - Would improve my experience
Contribution
- I would be willing to implement this feature
Additional Context
No response
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 87
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 194
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from sameerasw/essentials
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
sameerasw/essentials#1579 ·
Maintainers usually reply within 1 day
-
[Bug]: Screen Flickering on AOD with Wallpaper on AOD onPossibly taken @sameerasw claimed this today. Openbug
sameerasw/essentials#1595 · 1 assignee ·
Maintainers usually reply within 1 day
-
[Bug]: Not recognizing the HilightPossibly taken @sameerasw claimed this today. Openbug
sameerasw/essentials#1591 · 1 assignee ·
Maintainers usually reply within 1 day
-
[Feature]: Dynamic Island outline color themedPossibly taken @sameerasw claimed this today. Openenhancement
sameerasw/essentials#1590 · 1 assignee ·
Maintainers usually reply within 1 day
-
[Bug]: Dynamic island, Duo, and Status Glance doesn't work after factory resetPossibly taken @sameerasw claimed this today. Openbug
sameerasw/essentials#1588 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
All issues in sameerasw/essentials
Similar issues
-
enhancement needs-triage
Difficulty 1/5 Under an hour Newbie friendliness 78/100
facebook/facebook-android-sdk#1418 ·
-
advisor
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
oss-review-toolkit/ort#12667 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
open-learning-exchange/myplanet#18413 ·
Maintainers usually reply within 2 days
-
Mikrokosmos Fansub: Url and theme changedPossibly taken @FranPratama claimed this today. OpenBug Domain changed
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
keiyoushi/extensions-source#20459 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
pedroSG94/RootEncoder#2224 ·
Maintainers usually reply within 2 days