Laptop computer freezes when power supply is connected

I recently experienced a problem on a Lenovo Thinkpad T440p computer running Windows 10:

If the power supply was connected when the computer was running it would seemingly freeze: Mouse and keyboard became non-responsive.

However it was not a full freeze or crash, because music from a mediaplayer would continue.

If the power supply was disconnected, then the computer became responsive again.

 

One way to avoid the problem was to connect the power when the computer was sleeping or turned off.

 

It was an annoying problem and some people would assume the computer had crashed.

So I searched for a solution and found this:

https://www.ifixit.com/Answers/View/70872/How+to+fix+a+notebook+that+freezes+when+plugged+to+AC+power

 

The solution that worked for me was to:

  1. Open Device Manager
  2. Find Batteries -> Microsoft AC Adapter
  3. Right click and disable the Microsoft AC Adapter

2016-09-12_laptop_freezes_when_connected_to_power