OpenTX-Telemetry-Widget icon indicating copy to clipboard operation
OpenTX-Telemetry-Widget copied to clipboard

Incorrect calculation of battery capacity.

Open psfales opened this issue 6 months ago • 3 comments

I'm fairly new to Inav, so this is probably due to pilot error, or a misunderstanding on my part...

I'm trying to figure out how it determines the reported battery level. It always starts off reporting something like 70% even with a freshly charged battery at 16.8V (4.2V/cell), and reports the battery being down to "critical level" (less than 10%) when it is barely below 15V.

I've tried adjusting the battery capacity through the configuration screen, but even when I lie and tell it that I have a much larger battery capacity than I really have, it doesn't seem to make much difference. Is there some other setting that I'm missing?

Maybe this is documented somewhere. If so, a pointer to the documentation would be helpful because I could not find anything in a search.

psfales avatar May 12 '25 00:05 psfales

@psfales https://luatelemetry.readthedocs.io/en/latest/Configuration-Settings/

teckel12 avatar Jun 14 '25 21:06 teckel12

I'm aware of that configuration page. (I mentioned in my original question that I've experimented with changing values for battery capacity - both providing the correct value as well as artificially high values - but it doesn't seem to produce the expected results.) Are there other configuration values I should try changing?

psfales avatar Jun 16 '25 13:06 psfales

I had the same issue , i solved it after reading the document above, the following resolved the issue:

In INAV CLI (ignore for TBS Crossfire) set smartport_fuel_unit = percent set report_cell_voltage = OFF (if set to ON Lua Telemetry can't show total battery voltage)

K121964 avatar Jul 16 '25 19:07 K121964