$69 parts and labor repair service at www.pcrepairhelp.net.
The Lenovo L340 laptop came in with a loose connection where you plug in the power cord. You could hold the tip of the adapter in just the right way to get the laptop to run on ac power. If you let go the laptop would shift to battery power.
The L340 uses a soldered on dc port and the laptop needs to be completely taken apart to the motherboard to access it.