JinineMay2022 wrote:
I replaced my MacBook Pro 2015 battery in Oct 2021. Suddenly yesterday the battery stopped charging. The orange light is on, but the battery indicator shows an x. I checked the system report (see screen shot). I also tried to reset the SMC, but the battery is still not charging. Can anyone help?
https://discussions.apple.com/content/attachment/4025ac87-99bc-4643-8557-8256d6ed87f7

You battery is not registering
I don't think you have the connector set properly, try again if you did this yourself
or the battery has failed. I would return it to the Apple or your AASP
You have a 90 day warranty on all recent work parts & labor
Find a Store - Apple
Check your coverage
My Support - Official Apple Support
Third party batteries is not always so reliable...
ref
https://eshop.macsales.com/shop/laptop-batteries/macbook-pro
Learn how to get your Mac fixed and how much it will cost. Mac Repair - Official Apple Support
Get your Mac ready for service - Apple Support Get your Mac ready for service - Apple Support