DELL Latitude D620 AC power adapter not recognized
I own a DELL L attitude D620 laptop which i purchased about 1 year ago, the warranty has expired. It has been working fine, but one day after booting, i got this message, “The AC power adapter cannot be determined. Your system will operate slower and the battery will not charge. Please connect a HP AC adapter for best system performance”.
I tried twisting the cable a little bit and it could transmit charge for a second or two and then go off. Sometimes it seems to be working but immediately i switch off the socket the computer shuts down immediately, signifying the battery never acquired any charge. I have a second thought of trying to fix it myself because i may cause more damage. I need to fix the charger without purchasing a new one.
My questions are-: Can any software be used to troubleshoot this problem and make the computer recognize the charger? What is your suggestion to fix this?
If i took it to someone, how long do you think it would take them to fix it? If i take it for repair, approximately how much would it cost?
I will be grateful for any help.
Have a great day everyone!
The error message is attached below








