It is fairly common for laptop power connectors to come loose like you are describing. Especially on laptops that are moved frequently when plugged in. If your laptop is in warranty you should go to your vendor or manufacturer and get the warranty process going so they will fix or replace your laptop. If not under warranty your best bet is to take it to a repair shop that is familiar with this repair. If you are good with electronics and soldering you can google to fine a replacement jack and do the repair yourself. Good luck.