Summary

The laptop-mode-tools package is installed by default, but provides a completely parallel interface for power management that duplicates functionality of pm-utils and the rest of the freedesktop.org stack, frequently tripping up users when one of the tools overrides the settings of the other. We should remove laptop-mode-tools from the default install, to have only one set of infrastructure in the default system for configuring and applying power management settings.

Release Note

The laptop-mode-tools package is no longer installed by default on the desktop in Ubuntu 10.04 LTS. Upgrading to 10.04 LTS with update-manager or do-release-upgrade will have the package automatically removed; users who upgrade manually with apt-get or other tools are advised to remove this package manually with sudo apt-get purge laptop-mode-tools.

Users who wish to continue using laptop-mode-tools to administer their power management settings may reinstall the package from the Ubuntu universe repository.

Rationale

The laptop-mode-tools package provides a completely parallel mechanism for configuring power management, duplicating most of the functionality already provided by the fd.o stack in the pm-utils package and packages that hook into it, such as hdparm. Although it provides tweaks for many aspects of power management that aren't currently supported in pm-utils, having two separate configuration mechanisms for the same functionality is inappropriate and results in confusing behavior when one setting overrides the other.

User stories

Assumptions

The pm-utils package, as part of the freedesktop.org stack, is the correct infrastructure to standardize on for power management options.

Implementation

Test/Demo Plan

It's important that we are able to test new features, and demonstrate them to users. Use this section to describe a short plan that anybody can follow that demonstrates the feature is working. This can then be used during testing, and to show off after release. Please add an entry to http://testcases.qa.ubuntu.com/Coverage/NewFeatures for tracking test coverage.

This need not be added or completed until the specification is nearing beta.

BoF agenda and discussion

Summary

The laptop-mode-tools package is installed by default, but if enabled it adds a completely separate power management overlay that doesn't integrate with any of the rest of the system packages (and doesn't respect preferences set in those packages). This should be rectified.

Discussion

Confusion: There is the kernel's laptop_mode (/proc/sys/vm/laptop_mode) and there is the laptop-mode-tools package. The latter perfoms several additonal tweaks to optimize disk idleing in addition to the kernel's laptoop_mode. Additionaly it is capable to handle most power management tasks.

Anecdote:


CategorySpec

FoundationsTeam/Specs/RemoveLaptopModeToolsFromDefaultInstall (last edited 2010-02-11 00:47:35 by minbar)