Battery is not charging while On but charges in turn off

I have recently had the battery in my MacBook upgraded by a third-party service center. The battery appears to be functioning properly according to the Coconut app and system settings. However, when the MacBook is turned on, it displays a message saying "battery is not charging." Interestingly, the battery starts charging when the MacBook Pro is turned off. I'm using the original charger. What might be causing this issue?

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 2

crwdns2944067:02crwdne2944067:0:

Can you post a screenshot of what coconut battery is telling you?

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

Do an SMC reset or a VRAM reset ( Press hold Cmd + opt + P + R + power button ) do this when shutdown for 10 sec..

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

crwdns2934285:0crwdne2934285:0