First test with a known-good compatible cable and charger, and check the charging port. If the fault persists, have a technician verify the battery part number and connector fit. For a wholesale return, share the iPhone model, iOS version, battery label and charger used, and note whether the original battery had the same symptom. A charging fault is not, by itself, evidence of low battery capacity.