Split battery progress bar?

I am using the expression (clamp(#BLN#, 0, 50)/50) for the first bar to show progress from 0-50% but using (clamp(#BLN#, 51, 100)/100) does not work as intended. What would be a workable way to make this happen?

Thanks for the help in advance!

$#BLN#>50?(clamp(#BLN#, 50, 100)/50-1):0$
2 Likes

Thank you much, works great!

1 Like

Another example of just how much a great guy Andrei was :slightly_smiling_face: Great to see his memory and knowledge are still being kept alive here :100:

1 Like