WFF: Where did Battery go?!

Funny how in WFF I can build complex animations, but I can’t show something as basic as the battery level.
Tried #BLP# and #BLN#, but neither seem to work.
Is there any current way to show battery percentage in a WFF face?

1 Like

You can use the in house Progress Bar or the Battery Icon for now . It is no doubt an error on Facers Part . I guess they will reinstate it in a few days . People lie to show a Hand and numerals for battery power .
Check my test for fails and work rounds . If you have something to contribute let me know .
.

Thanks, good to know it’s not just me. Using a workaround for now…

Just started cleaning things up, I guess this list will grow:

#DsZ# —- $#Ds#<10?0#Ds#:#Ds#$
#DbZ# —- $#Db#<10?0#Db#:#Db#$
#BLP# —- #BLN#% (update; not working) (use graphical solution)
#DdL# —- $#Dd#<10?0#Dd#:#Dd#$

If anyone spots others, feel free to add!

1 Like

Be patient. It’s “Beta” for a reason. :upside_down_face:

1 Like

Haha, yeah… just practicing my patience levels…

1 Like

Apologies, despite these adjustments and the green checkmarks, my faces are often still not accepted by the Creator.
Even with full compatibility indicators, publishing sometimes results in an error and the face is marked as not WFF-compatible.
There’s not much you can do at that point other than trial and error and patience, of course.
It’s still in beta after all, and I’m sure improvements are on the way.

1 Like

Check my Test there is a solution for #DbZ# in there it involve pad . Let us look at your face It i not obvious Check the list in creator , it flags the Layer name so it is easy to find the layer with the Deprecated Tag .

Can you publish this? (pad(#Db#,2)):#DmZ#:#DsZ#, I will get an error not in the editor but after publishing.

1 Like

Oh well best Laid Plans . Sometimes you can put the whole lot inside ( ) . But that is clutching at straws .
I will give it a go . I ways work in Creator Beta .

I’ve been thinking about your comment and example, I hadn’t realized that #BLN# actually does work as a condition argument.
You were absolutely right, thanks for pointing that out!
It means we can use a workaround to display battery levels in text by toggling different fields.

Battery: 10%, opacity: $#BLN#>=10 && #BLN#<20?100:0$

Battery: 20%, opacity: $#BLN#>=20 && #BLN#<30?100:0$

and so on. Seems to work just fine in WFF.

2 Likes

OK Cool I did not try that one yet . Nice contribution . Thank you . I tried a formula in the Rotating Field and it was Flagged . The trouble right now I am spending so much time looking at the Bugs on Facer I am getting nothing else done . Facer will fix some of this stuff soon .

1 Like