The battery charger (4) has a ventilation device (5) with a blower (6) for discharging the air stream. The battery charger is attached to a battery (1) for charging the battery. The battery charger is cooled with the air stream and discharges gas escaping from the battery during charging process.