When the car is running, the charging device maintains a charge in your battery and provides electrical energy for the radio, lights, and other features. The alternator, battery, wiring, and electronic control unit comprise the modern charging system (ECU). The battery is a power storage device. Its primary function is to start the car by cranking the engine. When the engine is turned off, the battery powers the accessories.