I have a OLED switch that has some strange symptoms

I was asked to look at my friends Nintendo Switch OLED which has some strange symptoms. If the switch is powered on and you insert the charger it will not change. Whats strange is if I power the switch off and insert the charger it won’t charge either. If I use the USB C cable that came with my Logitech MX Master 3 mouse and insert the cable with the Logi logo facing down it will power the switch on and charge but if I unplug the switch and plug it back in the switch won’t charge. Inserting the switch into a dock it won’t charge or connect to a TV. If I insert the Switch into a dock while its powered off it will power on but won’t dock still or change after it boots. Any thoughts on what to look for? I am assuming that its a motherboard issue. I looked into the charging port and it looks perfectly fine.