Can't get to the OS while on battery - MacBook Pro 13' 2017

Hi, I'm having a huge problem with my Macbook Pro 13' 2017.
I can't start the os while on battery, it shuts down during the startup. Apple logo appears, the loading bar goes halfway and then it shuts down. If i try to boot again a low battery icon shows up. I'm able to boot into the os just having the charger plugged in. After that I can unplug the charger without any problem. I tried an smc and nvram reset, but nothing changed.

submitted by /u/ChiredditG
[link] [comments]