Batteries for medical devices