Hmmm...
![headscratch :headscratch:](http://bbs.hitechcreations.com/smf/Smileys/default/headscratch.gif)
What brand/model of laptop is it?
Check the AC adapter cord for a bulge, kink or narrow spot near the end that plugs into the laptop and or near the brick. Could be a short in the wire.
Take the battery out. Run the laptop just off the AC adapter.
On just the AC adapter gently wiggle the end that plugs into the laptop.
Last but not least, with the battery out and AC adapter unplugged, carefully pop the keyboard out and check for dust everywhere. If you feel confident that you can safely open the case, do so and clean it out. Be very careful with the ribbon cables.