when you run it on electricity? you mean, when you have it plugged into the AC Adapter it works fine... and when you use it on the battery alone, it gives you intermittent wireless Internet connection? If so....
Go into your Control Panel, then Power Options.... change the setting for the battery, it may make your battery life less. Also, go into Device Manager and Right click on the wireless card, under Network Adapters, and go to properties. On the last tab it should have a power option.... uncheck the box that says "turn off to save battery life".
Please be more informative in your problem description. Proof-read.