You can check your Mac's battery health under the "Power" section in the System Information app. If the condition is listed as "Replace Soon" or "Service Battery," it's likely that the battery needs to be replaced.