Hi,
Yes, it is normal for battery longevity and capacity to decrease over time.
Regarding capacity loss: this process can be accelerated if you keep the laptop plugged into power constantly, which can cause the battery to degrade or swell—factors that reduce its lifespan.
https://www.hp.com/us-en/tech-takes/laptops/faq/is-it-bad-to-leave-laptop-plugged-in.html
As for replacing the battery, you can test it during normal use to see how long it lasts; for instance, if it used to last 4 hours, it might have dropped to two hours, and so on.
So, normal usage is fine, but if you notice the battery swelling, I recommend replacing it as soon as possible for safety reasons.
Please consider rating the question (accept the answer or not), and access the community at Microsoft Q&A if you have further questions.
While this is not a Microsoft website, it is the official site of [HP].
Thanks.