Windows 11 has a built-in report that provides insight into your laptop's battery status, including whether it's time for a replacement.
Replacing the battery on your MacBook can be expensive, especially if you use Apple's official service. Doing it yourself is cheaper and not too hard.