Yes, when the engine is running, the alternator charges the battery and you prevent the battery from discharging. The generator also provides a slightly higher voltage to the tire inflator.