Battery indicator level tweaks
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 42/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- cpp
- Ambito
- embedded-iot
Direzione di ricerca
Inizia tracciando l'indicatore della batteria utilizzato sul display principale dell'orologio e nel menu sul lato sinistro, inclusi le soglie del livello della batteria e la gestione dei colori. Verifica se i colori personalizzati del watch-face e lo stato rosso esistente di batteria scarica sono coperti dai test. Il lavoro è completato quando il riempimento viene arrotondato come richiesto e la batteria scarica utilizza un trattamento arancione o rosso visibile senza compromettere i colori personalizzati del watch-face.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- C
- Stelle
- 3.4k
- Fork
- 1.1k
- Merge medio
- 23h 18m
- PR unite (30g)
- 1
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di InfiniTimeOrg/InfiniTime
-
BLE handlers use length fields from the packet without checking how much data arrivedForse già presa @DustinHab l’ha presa 35 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 56/100
InfiniTimeOrg/InfiniTime#2485 ·
-
Unexpected jump back to watch face when button pressedForse già presa @SteveAmor l’ha presa 78 giorni fa. Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 50/100
InfiniTimeOrg/InfiniTime#2461 · 2 commenti ·
-
Screen doesn't go to sleep after reset countdown appForse già presa @SteveAmor l’ha presa 76 giorni fa. Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
InfiniTimeOrg/InfiniTime#2419 · 4 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
InfiniTimeOrg/InfiniTime#2410 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
InfiniTimeOrg/InfiniTime#2407 · 4 commenti ·
Tutte le issue di InfiniTimeOrg/InfiniTime
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
antoxa2584x/nfsu2-sw#44 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
codepointerapp/codepointer#231 ·
-
Weekly fuzz run failedAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
kubernetes-sigs/security-profiles-operator#3597 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
ImageMagick/ImageMagick#9038 ·
I maintainer di solito rispondono entro 1 giorno