Charger for car batteries