I am trying to use lua script to show battery capacity remaining in a Taranis as per this video and this video and script here:
Although the starting mAh is displayed, it does not change with power consumption.
I have set the following variables to true.
Hoping someone with lua experience might help.