defect-free battery manufacturing