This is because while the engine is running it not only drives the wheels, but turns an electrical generator called an alternator. This produces electricity to operate the electrical systems of the vehicle as well as recharging the car’s battery. Effectively while the engine is running you are not using the battery for electricity but rather gasoline.
Latest Answers