This question already has an answer here:
I have a 2017 15" MacBook Pro.
A while ago I posted question related to issues with battery here:
What's funny is that that problem solved itself eventually (The next day it charged as expected). Two weeks later I kinda got into the same problem, but now it charges only to 27%.
Interestingly, I don't have any performance problems if I am on battery and the battery usage is normal.
If someone has experienced similar problems, I am curious to know if they have done something to fix it. I have tried resetting the SMC multiple times but to no avail.