I once ran out of fuel in a new boat with a computerized fuel gauge. A dangerous situation ... I am assuming there is a sensor still in cars because we do not enter the amount of fuel we add ...