Rate dependent heterogeneities in batteries