Chosen Solution

It’s been like that even when I don’t plug my charger and only one of my usb c port seems to be working. SMC reset did nothing.

Sadly your battery charging logic of your system is in trouble! This is a logic board issue. Depending on where you live your system might still be covered under warranty! So I would check to see if you’re system is still covered and if it is I would contact Apple so at least you can log the problem (make sure you write down the case number as you’ll need it when you get your system to them to get repaired). If your system is not under warranty you’ll need to find someone who can fix your logic board. Where do you live (country and nearest city) maybe we can aim you to someone. Update (04/04/2020) Sorry, replacing the physical port connectors won’t fix this ;-{ The charging logic encompasses two Texas Instruments 58873D Synchronous Buck NexFET Power Block MOSFET chips marked in light blue at the far right the other pair on the left are used for the display backlight.

The only other option is replacing the logic board, here’s a listing from one source Mid 2017 13” MacBook Pro Retina Function Key logic boards

To get that logic board repair at a reasonable price, contact Paul Daniels in Australia. Here’s his contact information, he does mail-in service: https://www.rossmanngroup.com/macbook-re