EV batteries and the electricity grid