Li-ion batteries for medical devices