Portable charger for electric cars