Measurement technique for online EV battery state of life monitoring