A study of state of health estimation methods for li-ion batteries