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:
The solution that worked for me was to:
- Open Device Manager
- Find Batteries -> Microsoft AC Adapter
- Right click and disable the Microsoft AC Adapter