|Try running it separately on JUST battery power and JUST ac adapter power. Usually the 2 sources are together in the laptop and that might be what causes the problem. |
The solution to this can run the gamut from cutting off the power supply might solve the issue to having to replace your motherboard. Start with the simple solution above and go from there.