Comment 16 for bug 244844

Revision history for this message
Steve Langasek (vorlon) wrote :

/etc/power/ appears to be a configuration directory for the pbbuttonsd daemon, which is powerpc-specific; these scripts are certainly unrelated to pm-utils integration, and I have no intention of touching this given that I'm not in a position to test changes regarding pbbuttonsd integration.

> May the script /usr/lib/pm-utils/power.d/laptop-mode better be named with a number too? Like 96laptop-mode,
> to make sure it is called after 95hdparm-apm.

Letters already sort after numbers.

As for whether laptop-mode-tools should be enabled by default, there is already a separate bug open for this issue, so that's not a reason to keep this bug report open (and is scope creep wrt the original request in any case).

> According to
> https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/239419/comments/5
> the kernel's laptop_mode has been hardcoded to be enabled on battery all the time anyway.

I'm not sure what the basis for this claim was, but it's definitely wrong.

$ cat /proc/sys/vm/laptop_mode
0
$