The battery powers the laptop. Before taking anything out of the laptop, always remove the battery to avoid shocking yourself and damaging other components. Over time, the battery will lose the ability to charge. Replace the battery with a new one to regain your original battery life.