With a decrease in battery capacity, battery life decreases, and when the battery is completely worn out, the MacBook will work only when plugged into a socket. A fully depleted battery can swell and leak over time, so it's best to replace it in advance.