Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[Feature]: Pocket detection: pause for this flashlight session if I turn the light back on within 20s

Abierto
#1,195 0 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@sameerasw ya está trabajando en esto.

Desde el 28/9/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

enhancement
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:

  1. Turn the light on and lean the phone on a wall or upside down.
  2. Pocket detection turns it off.
  3. I turn it on again within 20 seconds.
  4. It stays on (Pocket detection paused for this session).
  5. I turn it off. Pocket detection is active again next time.

No new setting needed. Real pocket cases stay protected.

Alternatives Considered
Image
Priority

Medium - Would improve my experience

Contribution
  • I would be willing to implement this feature
Additional Context

No response

Lenguaje dominante
Kotlin
Estrellas
3.2k
Forks
87
Merge medio
1 d 10 h
PR fusionados (30 d)
194

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de sameerasw/essentials

Todos los issues de sameerasw/essentials

Issues similares

Más issues de Kotlin

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.