pjses 0 Newbie Poster

I'm having a problem when my laptop is plugged into the power supply I am not able to connect to the internet. My wireless card and ethernet card both get then lose the signal over and over. If I unplug the power and it runs on the battery the problem goes away. Any suggestions??