I believe the SoC (state of charge) history is recorded for Teslas and other EVs. There is a company called Recurrent [1] which uses this data to estimate battery degradation. I think the idea is to generate something like a Carfax report for used EV battery packs.
[1] https://www.recurrentauto.com/