The impact of photovoltaics on energy storage batteries