Laptop freezes whenever I unplug/plug in AC adapter

I have a Samsung Series 9 laptop, model NP900X4C. For a long time now this laptop has had issues with the battery and AC adapter, like this, which got fixed about six months ago: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061

Ever since I upgraded to 14.10 I've had a lot of problems, but the most problematic is that I can no longer unplug or plug in the AC adapter while the system is running. If I do, it simply freezes. Mouse stops responding, keyboard stops responding, everything else appears to stop responding. Just completely freezes. Nothing in any of the logs in Log Viewer. Removing the adapter (if plugging it in was what froze the laptop) or vice versa does nothing. The only way to get it to respond is to hold the power button to turn it off.

If the laptop is suspended or hibernated, I can unplug or plug in the adapter and the laptop will work normally after resumed.

I've tried with both the bundled charger and a third party charger, to rule out problems with the charger. Same effect.

Does anyone know what could cause this?


I had the same problem. Upgrading to 15.04 fixed it for me.


I've had the exact same problem about 2 years ago.

Some background: I was always very careful about using the battery as little as possible:

  • Always completely discharge the battery before charging again.
  • Take it out of the machine whenever I was home and plugged in anyway
  • Store it in a cool, dry place
  • Stop charging when the charge reads 100%
  • for more info : http://batteryuniversity.com

And I had the exact same problem as you after 6 years of that, so I knew the battery had finally died though it still worked (kinda: with the freezes, but what the heck: 6 years!)

If you have a relative, friend, colleague, ... that has the same laptop as you, just swap the batteries and you'll know as well your battery is busted.