Start with a new GENUINE power adapter and see if that resolves the issue first - a lot of the time, it’s just a bad charger. If that doesn’t fix it, you’ll need to replace the power jack.
On many of these newer Insprion models, the procedure to change the power jack is easy enough if you’re comfortable inside a computer, you can do it yourself. You can find the part here, and the service manual here.
Just a few years ago before Haswell, it was a crapshoot - some were easy, others were okay and some were awful. The new ones are a 15-20 minute job for anyone who knows what they’re doing, while they could be a genuine nightmare on many of the older ones - even IF you know how.