Check the charging problem before choosing a part
A battery warning light or repeated dead battery does not identify the failed part by itself. Battery condition, cable connections, the drive belt, and charging-system operation may need checking. Tell us whether the problem happens while driving, after parking, or only when starting.