Thank's fo your script  Valentin, it works for me, but only after a
modification of power.sh :

Actually, the power.sh script is buggy : the script doesn't really call
laptop-mode (/usr/sbin/laptop_mode) but it calls internal functions
defined at the beginning of the script...and thus laptop-mode.conf are
not applied...

I posted a solution (modified power.sh), which solve the same problem
(laptop-mode not really enabled) after switching AC/battery power supply

https://bugs.launchpad.net/ubuntu/+source/acpi-
support/+bug/74394/comments/8

I also recall valentin's solution for the suspend/resume on the same
bug.

https://bugs.launchpad.net/ubuntu/+source/acpi-
support/+bug/74394/comments/9

-- 
power.sh: wrong laptop_mode activation
https://bugs.launchpad.net/bugs/89269
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to