A very common problem is that one of the internal conductor wires of the power cord may fail due to metal fatigue. This happens because of repeated flexing/bending of the cable right at its end, where the power plug is attached. Sideways tension on the cord then makes the internal wires touch each other, and then the cord will work again (temporarily). You can replace or repair the cord with a new plug, but most people just get a whole new power supply. It is also possible but less probable that it is the power socket in the computer: if this is the case, the plug will usually be fitting loosely or wobbly in the socket.
That is interesting. I'm looking for a new plug end. Sounds like a cheap place to start.
I have repaired them before by carefully cutting into the molded plastic on the body of the connector to expose where the wires are attached, then cutting back the wire and resoldering it. It's a bit tricky and looks ugly, but it works.
(post is archived)