I have a laptop I purchased about 2 years ago which has an issue concerning the port where you plug in the AC adapter. Through normal use, it suddenly noticed this issue where you cannot get the laptop to charge unless if the cable is angled just the right way. My only guess is that somehow the connector inside the laptop somehow shifted. The laptop is no longer under any sort of warranty. I have no clue how to go about fixing the problem and I feel like I won't get much money selling the thing as is. Its a $1700 laptop which is currently collecting dust. I'm looking for some advice. What would you do in my situation?
When I've had this happen in the past, it's always turned out to be the cable that is the issue, not the internal connector. So, the first step I'd take would be to find a compatible adapter and try it to see if that resolves the issue. If so, buy a new adapter, and job done.
If it doesn't resolve the issue, you have two options that I see.
1) Sending off to the manufacturer or taking it to a computer repair shop that can diagnose and resolve the issue for you for some cost.
2) Find a manual with disassembly instructions (often downloadable from the manufacturer support site) and see about taking it apart to determine if you can find and repair the issue yourself.
As a computer repair technician who has repaired dozens (if not hundreds by now) of this exact issue over the years, I can tell you that you CANNOT assume it is either the port or the cable without direct examination. It could be either, and it would be irresponsible to say definitively which is it.
That said, you can take a look and see for yourself. If it is the plug on the end of the cable, the damage will most likely be visible as the cord would be separating, or the braided ground shielding will be showing, etc. If the barrel end of the cord itself is damaged in some way, separating from the plastic or crushed, then this too would be plainly evident. It is possible that the AC/DC adapter brick portion of the cord is damaged, but for that, you'd need multimeter.
The port on the laptop can easily tell you if it is broken without taking it apart. If the laptop DC jack has a pin in the center, and that pin is wobbly (aka, touch it with tweezers or a pencil eraser, etc) chances are, it's not making a solid contact any more. The plastic housing of the DC jack might be broken from the cable taking one too many hits, and that would be harder to see... but if there's no visible damage on the end of the cable, and the center pin on the DC jack isn't wobbly, then the damage is most likely in the plastic housing of the jack itself.
Repair? If it's the cord or the end of the cord, replacing the cord is the easiest repair. You could purchase a new end at Radio Shack and cut the old end off, but that does take a basic level of skill... it is not easier than just purchasing a new DC adapter. If the issue is the DC jack however, that does take a bit more skill... and I would not recommend it for a beginner.
A DC jack will run you between $3 and $10 on EBay, so the parts aren't that expensive. It's taking the laptop apart, and de-soldering the old jack off the motherboard that is tricky. My ex-boss had ruined many motherboards by forcing the old DC jack off the board, removing the tin collars that the jack's pins were set into, so that the soldering job on the new one no longer made contact on both sides of the motherboard. So, it's best left to a repair shop if you aren't really handy with a soldering iron.
An alternative, is to purchase a two contact connector like this, and step away completely from the pin-barrel design that has already proven to be shoddy. Then, you simply solder in two wires in place of the DC jack (one to the positive connection where the center pin was connected, the other to one of the many ground connections), knot or fasten the cable inside the casing BEHIND the hole the DC jack used to go out of, and connect one of those two contact connectors to the wires. Then, remove the end from your DC adapter, and connect the mate for that two contact connector. Why would you do this?