yes, that's one of the things people forget about battery power - it decouples the generation of the energy from the storage. This means that you can switch from burning coal to solar, hydro or wind as an energy source with no changes at all to the car