Battery indicator level tweaks
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 42/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- cpp
- Área
- embedded-iot
Línea de trabajo
Comienza rastreando el indicador de batería utilizado en la pantalla principal del reloj y en el menú del lado izquierdo, incluidos sus umbrales de nivel de batería y el manejo de colores. Comprueba si las colores personalizadas de la watch-face y el estado rojo existente de batería baja están cubiertos por pruebas. Se considera terminado cuando el relleno se redondea según lo solicitado y la batería baja utiliza un tratamiento naranja o rojo visible sin romper los colores personalizados de la watch-face.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Verification
- I searched for similar issues (including closed issues) and found none was relevant.
Introduce the issue
I'm primarily using the PineTimeStyle, but I suspect it doesn't matter.
- Charge battery to 99%, and the battery level indicator on the main clock display shows one pixel height already drained. In my mind, it's so close to 100%, that it should still appear as a full battery indicator.
- At low battery, I can't remember if it is 10% or 15%, but swipe to the menu on the left, and you see the battery indicator in orange, so it is understood it is a low battery. But on the main clock display, it always shows the indicator as white, and is hard to see how low the indicator is for anything below about 20-25%.
Preferred solution
- Round to the nearest, instead of rounding down. If there are 10 pixels height in the battery, it should be: 95-100%: full 10 pixels, 85-94%: 9 pixels, 75-84%: 8 pixels, ... 5-14%: 1 pixel, 0-4%: 0 pixels. Or similar - don't mind if it is 0-5%, 6-15%, etc.
- I suggest putting the same orange battery indicator on the main clock display when the battery is below 15% (or 10% or whatever the threshold is). It currently turns red for 5% (?) and below, so I like that.
One consideration is that the watch face allows a custom colour for each component, and in fact, I do currently have PineTimeStyle with all orange colour highlights. So orange on orange would be invisible. The battery icon on the main watch fact currently has a black outline. Perhaps the battery icon could have a black outer border and a white inner outline, which changes to orange/red outline at low battery??
Version
1.15.0
- Lenguaje dominante
- C
- Estrellas
- 3.4k
- Forks
- 1.1k
- Merge medio
- 23 h 18 min
- PR fusionados (30 d)
- 1
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de InfiniTimeOrg/InfiniTime
-
BLE handlers use length fields from the packet without checking how much data arrivedPosiblemente ocupada @DustinHab la tomó hace 36 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 56/100
InfiniTimeOrg/InfiniTime#2485 ·
-
Unexpected jump back to watch face when button pressedPosiblemente ocupada @SteveAmor la tomó hace 79 días. Abiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 50/100
InfiniTimeOrg/InfiniTime#2461 · 2 comentarios ·
-
Screen doesn't go to sleep after reset countdown appPosiblemente ocupada @SteveAmor la tomó hace 77 días. Abiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
InfiniTimeOrg/InfiniTime#2419 · 4 comentarios ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
InfiniTimeOrg/InfiniTime#2410 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
InfiniTimeOrg/InfiniTime#2407 · 4 comentarios ·
Todos los issues de InfiniTimeOrg/InfiniTime
Issues similares
-
mewencode: base256[] and base128[] are indexed out of bounds by a non-ASCII octetPosiblemente ocupada @kazu-yamamoto la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
kazu-yamamoto/Mew#276 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 91/100
FujiNetWIFI/fujinet-firmware#2045 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
[Performance]: Qwen-Image-2.1 CPU-only on i5-10500H (6C AVX2, 32 GB): 512x512 in 7.7 min at 8 stepsAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
area:gates area:gfx found-by:critic kind:gate-defect
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
InauguralSystems/EigenScript#1825 ·
Los mantenedores suelen responder en 1 día