Is there a way that I can calculate the current range of a vehicle, using data provided via OBD-II?
I know I can find out the fuel percentage using
fuelLevelInput, but how can I find out how many miles that equates to?
I am using a OBD system that roughly calculates MPG for me, is there a way I can use that in conjunction with
fuelLevelInput, to estimate the current range of the car in miles?
My understanding is that all I have to do, is to multiply the MPG with the current fuel level in gallons. The problem is that
fuelLevelInput only provides a percentage. Is there a way to find out the
fuelLevelInput in gallons or litres?
Thanks for your time, Daniel.