my accer aspire E15 ES1 511 is not charged my battery percentage is 0 how to rest my battery

Solution
Does the laptop work fine when plugged in, but the battery won't charge? If the laptop is 2 or 3 years old, the battery could need to be replaced.