Custom Image set options for Battery (% adjustment)

Useful and nice battery.

I have 5 different Battery Icons that I would like to know the correct Battery Percentage Tags to use with please? The Battery Percentage Tags I need are for 10%, 20%, 50%, 80%, and 100%.
Here is an example of the Icons I want to use -

1 Like
Like this
$#BLN#<=10?100:0$
$#BLN#>10&&#BLN#<=20?100:0$
$#BLN#>20&&#BLN#<=40?100:0$
...
2 Likes

Thatā€™s brilliant thank you lucky.andrei :slightly_smiling_face:
What do I need to do to still have an Icon when it reads 0% though please?

$#BLN#<=10||#BLN#==--?100:0$

I donā€™t think it will work on some watch models, but thatā€™s just me guessing. It needs to be experimented with.

1 Like

Thank you lucky.andrei, and Iā€™m so sorry that my knowledge on coding = zero %

@lucky.andrei & @icrltd4

$#BLN#<=98||#BLN#==- -?100:0$

I tried the above code using both my Galaxy Watch and my TicWatch C2. It works perfect on the Samsung but not the TicWatch. The TicWatch stays visible above the threshold value. The Samsung was not visible until the battery percent came down to 98. The only way to be able to use it would be with an extra tag for only Samsung like $#ZMANU#==Samsung?160:999$ in the X or Y box. Just thought I would add my 2Ā¢ worth to this discussion. :grin:

1 Like

Friend could you give me a guideline on how to make a battery whose charge varies with colors?

Click on the name of this test Face, then select the little rocket ship Rocket-Inspection Icon (Inspection), and youā€™ll be able to see how I set different colours for the Battery Percentage ok.

2 Likes