battery_current_now does not appear in magic text

AMG47

New member
I've created some macros but am still relatively new to MD. I've used magic text before but don't understand why the new variable battery_current_new does not appear in my list of choices although I can enter it manually by typing it in and it does work. I have version 5.36.9
Thanks
 

Endercraft

Moderator (& bug finder :D)
It does appear for me.
Make sure you are on latest version available on this forum (v5.36.9).
It may be device dependent but if it actually gives a correct result then you should report the bug using the report bug button in the troubleshooting section of the app. That way @MacroDroidDev will get your device info and seeing why it doesn't show.
 

AMG47

New member
Thanks. I sent a report along with a screenshot which shows that value is not in the list. Pixel 7a and yes, latest MD version.
 

AMG47

New member
I updated a macro today and the battery_current_now value was back in the magic text list. Might it have something to do with the type (string, decimal, integer) of the variable being worked with or perhaps the function? Or is the magic text list of options always the same?
 

Endercraft

Moderator (& bug finder :D)
I think variable type can make a difference in what shows and not, but because an integer value is returned it should still be accepted. If not then you should report a bug using the report bug button in the troubleshooting section.
 

MacroDroidDev

Administrator
Staff member
Just to clear this up, it was missing when using a decimal variable type (but appeared for string). This will be resolved in v5.37.
 
Top