Phone batt isseu?

Phone battery is the watch!
The tekst {pblp} is working.

But for the size doesn’t. (more batt. the bigger the picture)
I made this for the width and hight.

‘{pbc}’ == ‘Charging’ and 150-(math.sin({drss}*1)*50) or {pbl} >= 90 and 200 or {pbl} >= 70 and 150 or {pbl} >= 50 and 100 or {pbl} >= 30 and 80 or {pbl} >= 10 and 40 or 20

But that doesn’t work (yet?) or is the code wrong?

Issue is with the math part. The conditional statement is failing to evaluate it.

If you split into 2 layers it can work.

Layer 1 opacity: {pbc} == ‘Charging’ and 100 or 0

Size = 150-(math.sin({drss}*1)*50)

Layer 2 opacity: {pbc} == ‘Charging’ and 0 or 100

Size: {pbl} >= 90 and 200 or {pbl} >= 70 and 150 or {pbl} >= 50 and 100 or {pbl} >= 30 and 80 or {pbl} >= 10 and 40 or 20

But I’m sure watchmaker team will fix this issue soon.

i made a change and you can hopefully use {pbl} in more places now like progress bars etc

Well done @AlexCurran
It’s working great!

glad its working! let me know if you find anything else