A car battery is charged by the alternator. The alternator will only operate if the engine is running. So, leaving a car engine running will charge the battery.9 Nov 2021