I would check the adapter first. Something in the adapter plug is causing the problem. The bent pin is a symptom, and very possible that something in the adapter is the cause. If the DC jack pin is loose though then it will require replacing the jack.
Hello hopefully this is in the right section. So today on my laptop I got a warning saying my 180 Watt charger is not a 180 W charger. So at first I went to check if something was wrong with the charger and I saw that somehow my charger had bent the pins in the charging port on my laptop. When I fixed it using my electrical tweezers to ben the pin back I plugged it into the charger and the charger bent it back again. Any idea how I can get my charger to stop doing this (and yes this is the charger that came in the box) 
Dell G15 5515 (ryzen) charger bending laptop pins