I don't think this is a software related problem but hardware one. I've been running Windows on my ZenBook lately, and this problem occurs with Windows too. Usually I see it when the laptop is running hot and I try to plug or unplug the power adapter, but I can see it sometimes too when I've just restarted the laptop.
And for me this has gotten more common lately. It's not a problem with battery running old, because battery can hold power about 4 hours. I'm not familiar how switching between power adapter and battery modes work, but could it be a problem with capacitors? Anyway, I'm taking my laptop to retailer for a repair. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/989191 Title: Asus Zenbook UX31E powers off on plugin in/out AC adapter Status in “linux” package in Ubuntu: Triaged Bug description: When I have logged in to Unity and plug in or out AC adapter to Asus Zenbook UX31E, computer powers off. Sometimes this needs couple of tries (waiting or not waiting in between) when plugin in or out AC adapter. This problem doesn't occur when I have switched to console or when in LightDM login screen. Problem doesn't happen with MS Windows either. And yes, there's enough power in my battery too, I can boot up and use the computer without AC adapter. syslog prints these lines to stdout in console, when plugin AC adapter first out and then in: [ 869.521396] asus_wmi: Unknown key 57 pressed [ 874.704525] asus_wmi: Unknown key 58 pressed [ 876.993295] [drm:drm_mode_getfb] *ERROR* invalid framebuffer id What you also need: 1) lsb_release -rd Description: Ubuntu 12.04 LTS Release: 12.04 2) I could guess kernel, but it happens _only_ when I have logged in to Unity (or Unity 2D)... 3) I expect that my computer doesn't power off. 4) Computer powers off. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/989191/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp