[Bug 1455097] Re: pm-suspend.log and pm-powersave.log not updated since upgrade to vivid

2015-07-01 Thread Martin Thornton
Improved previous attachment. You'll also need to: sudo cp [FILENAME] /lib/systemd/system-sleep/00powersave sudo chown root.root /lib/systemd/system-sleep/00powersave sudo chmod u+x /lib/systemd/system-sleep/00powersave ** Attachment added: "pm-powersave hook for systemd, save as /lib/systemd/sy

[Bug 1461386] Re: pm-powersave is not triggered when unplugging charger

2015-07-01 Thread Martin Thornton
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:

[Bug 1455097] Re: pm-suspend.log and pm-powersave.log not updated since upgrade to vivid

2015-07-01 Thread Martin Thornton
https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1458390 is probably a duplicate bug. https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1461386 is a related issue concerning calling pm-powersave on AC loss/connection. -- You received this bug notification because you are a member of

[Bug 1458390] Re: script in /etc/pm/sleep.d/ is not executed on resume

2015-07-01 Thread Martin Thornton
Almost certain is same bug as https://launchpad.net/ubuntu/+source/pm- utils/+bug/1455097. Caused by switch to systemd from upstart. -- 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/14

[Bug 1455097] Re: pm-suspend.log and pm-powersave.log not updated since upgrade to vivid

2015-07-01 Thread Martin Thornton
Was caused by switch to systemd from upstart. Instead of pm-suspend, systemd uses systemd-sleep. Instead of running scripts in /etc/pm/sleep.d/ and /usr/lib/pm-utils/sleep.d/ it runs scripts in /lib/systemd/system-sleep/. However, no script is installed here to call pm-powersave, and systemd doe