Caused by switch from upstart to systemd. Copy attachment (requires root) to /etc/udev/rules.d/powersave.rules.
See also bug https://bugs.launchpad.net/ubuntu/+source/pm- utils/+bug/1455097 for same problem with suspend/resume Still always assumes on battery at boot though. ** Attachment added: "pm-powersave hook for systemd using udev for ac on/off" https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1461386/+attachment/4422959/+files/powersave.rules -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to pm-utils in Ubuntu. https://bugs.launchpad.net/bugs/1461386 Title: pm-powersave is not triggered when unplugging charger To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1461386/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs