Macbook Pro turns off after entering password
I have a Macbook Pro 2017, and no matter what percentage charge it has, it turns off after I enter my password and log in. When I try to turn it back on, it says it needs to be charged, so I have to plug the charger into it. It runs fine after that. The battery status is 'Normal'.
Should I be concerned? Is there anything I can do to fix this?
MacBook Pro 13″, macOS 10.15