The relationship between battery power and driving range