First of all, I tested the adapter with a voltmeter.
The power didn’t cut off no matter how badly I wiggled the cord. It helped me to make a conlcusion that there is nothing wrong with the adapter connector or cord and most likely there is a problem with with the power socket inside the laptop. In order to access the jack I had to disassemble the laptop and remove the top cover assembly with the display.
The battery stops charging when I move the AC adapter connector inside the jack.
When the connector or power cord moved, the battery charge LED light on the front goes on and off.
It turns on and runs properly from the AC adapter but as soon as I start moving the connector inside the jack the laptop shuts off and it loses power immediately.
Before you start the disassembly process unplug the AC adapter and remove the battery. STEP 8 After the cover has been removed, you can access and clean both cooling fans. STEP 9 Remove two screws securing the display hinges to the back side of the base. STEP 1 Carefully remove the keyboard bezel using a small flathead screwdriver. STEP 10 Remove four screws securing display hinges. Unplug both wireless card antenna cables from the wireless card. Remove four screws securing the hard drive caddy to the base assembly. Remove it slowly, there is a flat ribbon cable connecting the power button board with the motherboard. The red arrow pointing to the connector on the motherboard. In one of the next guides I explains how to replace LCD screen with inverter. STEP 12 Remove the hard drive cover, memory cover and modem cover from the bottom. Slide the hard drive down to disconnect it from the motherboard. Press the key to enter the BIOS, usually Del, F1, F2, or F10. Select the option or press the button to load your factory defaults. Save your changes and confirm your selection if necessary.Using Windows Update (Windows 10)Using Windows Update (Windows 8)Using Windows Update (Windows 7)Using Device Manager (Any Windows Version)Manually Installing Drivers (Any Windows Version)Updating Mac Drivers Community Q&A This wiki How teaches how to update the software, called "drivers," that control the hardware connected to your computer.Updating drivers is generally only necessary for troubleshooting problems with hardware.You can find disassembly instructions for most laptops in their service manuals.In my case the DC jack was attached to a cable and I easily disconnected it from the motherboard.Is there any way to check/fix it, because I dont want to give it to a repair shop, and I have never even seen one... Resetting from Within BIOSResetting the Jumper Removing the CMOS Battery Community Q&A Have you recently made a change to your computer's hardware and need to reset your BIOS?