Development of new on-board battery diagnosis/prognosis tools for extending lifetime and mitigating failure