My laptop adapter cable was very loose and it was being unplugged with the slightest movement of laptop. Since it is an old and bulky laptop I did not want to carry around it's battery. I needed something to keep the jack in place.
After googling I found jerkstopper. Unfortunately it is not being sold in my country. So I thought I can utilize the same mechanics with a simple DIY thing.