I had a similar problem with a Panasonic laptop that I used a few years ago. After some digging on their website, I found that the laptop design had a flaw and the power was being grounded to the chassis. So, my two cents, check the laptop manufacturer for such a thing; I can't imagine the software knowing the difference between power sources of your laptop.
good luck