|let me see if i can help.|
there are a few things that might cause this issue,
plug your power cord into your laptop and try to lightly wiggle it and see if its loose.
if it is loose then your might want to get a new cord. run a virus scan and see if you have any viruses..