When I had charging issues with my Switch, it turned out to be the USB-C port itself. First, check for any visible damage or dirt inside the port. Use a can of compressed air to gently blow out any dust. If you see any bent pins, it might need professional repair. Also, make sure you're using the official Nintendo Switch charger, as some third-party chargers may not provide the correct voltage or current needed to charge the device properly.