Macbook pro shuts down randomly
For about a week now, every time I turn on my laptop, despite being above 50%, it shuts down on me. If I try to turn it back on, it says it's out of battery, and only turns on again if I plug it in. What is happening?? This is a laptop from 2017, is it just showing the signs of age??
MacBook Pro 13″, macOS 13.6