Your right, the gas gauge, emphasis on GAUGE shows amount basically as a percentage. Cars do INTERPRET that volume of gasoline into a RANGE in miles based on various things. I would say the main thing they use to convert that into a range would be past usage history of the individual vehicle...which would be why you would have two different values of RANGE in two different same make/model of vehicle between a "grandma" and someone who drives like a "bat out of hell"... Ohh but WAIT, guess what DOESN'T change between those two vehicles..ohh yes, the RATE at which the gasoline is pumped into the gas tank.
So you can go off into the weeds here about the interpretation aspect of all this and how different vehicles come up with their RANGE estimates, but that doesn't change the actual ENERGY(kWh or gallons of gasoline) flow rate INTO the vehicle(battery or gas tank).
Sorry if you don't understand still.
Edit...car crash continues...