Strange behaviour with a circular progress indicator

I’ve designed a face which has three circular progress indicators. Two work fine, they’re just straight gauges for heart rate and steps.

The third is for battery, and I’ve designed it so that it’s green until 40%, orange until 20%, and then red below 20%. I’ve done this using three indicators, hiding and displaying them based on the battery percentage. When previewed in Facer, this seems to work fine, with the bright green gradually giving way to dark green as the battery drains. But when loaded onto the watch, that dark green part of the indicator disappears and displays as black.

The formulae are as follows:

Fill ratio: (clamp(#BLN#, 0, 10000)/100)
Opacity: $#BLN#>=40?100:0$
BG opacity: $#BLN#>=40?50:0$

Screenshot shows how it looks when previewed.

1 Like

No idea about your Math for the Formulas, but here’s how I had 4 different colours for different Battery progress before -

Where this is for 0-25% - $#BLN#>0&&#BLN#<=25?80:0$ and this is for 75-100% - $#BLN#>75&&#BLN#<=100?80:0$ (NO Clamps as you can see).

5 Likes

Did that help at all? :thinking:

@icrltd4 Great work Gizmo! Love that nature feeling.

I just made A N N O N C I E R. Also trying to tackle the challenge of battery colors. I used a 3 images with different colors to make it… beautiful, i hope. Special light effects, everywhere…

Greetings
BC

1 Like

That looks great, you’ve always had such a talent, thank you :+1:

1 Like

according to the opacity settings, this control is only visible when battery >=40% Have you checked the other colors for their opacity thresholds?

about your Fill Ratio formula: maybe I miss something, but #BLN# goes from 0 to 100, so a clamp to (0,10000) doesnt make sense to me.

1 Like

I didn’t add all of the formulae for all of the progress controls, but yes, I have checked all of the opacity thresholds.

The clamp syntax may not be correct or the best way of doing it, but the fact remains that it all works exactly the way I want it in the creator environment, but when it lands on the watch it doesn’t work as expected. That’s the problem.

Ditch the Clamps, I’ve never used them for Battery Gauges. :low_battery: :battery:

2 Likes

The clamps are a red herring, the issue as described happens without using clamp. I have sent a request to Facer support, no response as yet.

That’s strange, my battery gauges work just fine with the Formulas I used in the Face further up here :thinking:

Hi! If you haven’t received a reply yet, please share your ticket number with us so we can alert the team to have a look.

1 Like

I would do this instead -

Green arc opacity: $#BLN#>=40?100:0$
Orange arc opacity: $(#BLN#<40&&#BLN#>=20)?100:0$
Red arc opacity: $#BLN#<20?100:0$

Fill ratio: (clamp(#BLN#,0,100))

1 Like