Public bug reported:

Binary package hint: laptop-mode-tools

In Ubuntu Feisty,

If a user  chooses to use laptop-mode on battery AND on AC power, by
making the following changes to /etc/laptop-mode/laptop-mode.conf

# Enable laptop mode when on battery power.
ENABLE_LAPTOP_MODE_ON_BATTERY=1

# Enable laptop mode when on AC power.
ENABLE_LAPTOP_MODE_ON_AC=1

# Enable laptop mode when the laptop's lid is closed, even when we're on AC
# power? (ACPI-ONLY)
ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED=1

he expects laptop-mode to be run at boot, but it isn't. You have to do a
sudo update-rc.d laptop-mode defaults. This happens because Ubuntu
relies on battery events to initiate laptop-mode, instead of symlinking
/etc/init.d/laptop-mode to the corresponding runlevels.

To avoid this inconsistency, there should be a warning in the config
file that the above manual step has to be performed, or the symlinks
should be created in the corresponding runlevel (this last option would
not raise any problems to those not using laptop mode, because
/etc/init.d/laptop-mode first checks if the user turned on laptop-mode
in /etc/defaults/acpi-support before proceeding).


(You might argue why someone would run laptop-mode on AC power. However, there 
are some valid use cases).

 Thank you for reading my bug report.

** Affects: laptop-mode-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
laptop-mode.conf inconsistency
https://bugs.launchpad.net/bugs/124125
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to