It might also help to know what ACPI events are being generated. Could you create the file: /etc/acpi/events/logger Put in it: ------------------------ #/etc/acpi/events/logger event=.* action=logger "event [%e]" ------------------------------ chmod +x /etc/acpi/events/logger
Now ACPI events will be logged to /var/log/messages Try "tail -f /var/log/messages" and if you unplug/plug the ac, you'll see the ACPI events generated. If you then grep for those events in /etc/acpi/events, you might have a good chance of figuring out where the trigger to shutdown is coming from. -- Laptop is hibernated even with high battery charge when AC is unplugged and re-plugged https://launchpad.net/bugs/51271 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs