Update: I seem to have solved the problem tweaking the udev commands as
follows:
SUBSYSTEM=="power_supply", ATTR{online}=="0", RUN+="/usr/sbin/pm-powersave true"
SUBSYSTEM=="power_supply", ATTR{online}=="1", RUN+="/usr/sbin/pm-powersave true"
this way pm-powersave is executed every time a power
Still present in 16.04.
Also: are custom pm files still allowed? It took me quite some time to
tune my XPS13 to perfection, it would suck if I had to throw everything
out of the window now.
File attached.
** Attachment added: "powertop_pm"
But this is not triggered on boot.
You will need to add
udevadm trigger -s power_supply
to rc.local
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1461386
Title:
pm-powersave is not triggered
But this is not triggered on boot.
You will need to add
udevadm trigger -s power_supply
to rc.local
--
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
** Changed in: pm-utils (Ubuntu)
Importance: Undecided = Medium
--
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
** Changed in: pm-utils (Ubuntu)
Importance: Undecided = Medium
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1461386
Title:
pm-powersave is not triggered when unplugging charger
To manage
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
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
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: pm-utils (Ubuntu)
Status: New = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to pm-utils in Ubuntu.
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: pm-utils (Ubuntu)
Status: New = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1461386
Title:
Thanks Martin, that makes sense. With your file in place pm-powersave is
now triggered correctly when unplugging my charger.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1461386
Title:
Thanks Martin, that makes sense. With your file in place pm-powersave is
now triggered correctly when unplugging my charger.
--
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
12 matches
Mail list logo