KubuntuPowerManagement

Differences between revisions 6 and 7
Revision 6 as of 2006-06-13 20:47:12
Size: 2771
Editor: vig38-2-81-56-113-154
Comment: about UPS support and Common Power Management
Revision 7 as of 2006-06-20 15:38:47
Size: 1307
Editor: 81
Comment:
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
Make sure power management in Kubuntu is as good as it is in Ubuntu Write a power management tool for KDE based on HAL.
Line 14: Line 14:
Power management in Kubuntu is flaky and unreliable. We should make sure it is a reliable as possible. The existing klaptopdaemon uses obsolete technologies and is hard to maintain. The alternative kpowersave duplicates a lot of the power management support included in Ubuntu and exposed through HAL, this would make it very hard to support and it conflicts with Ubuntu packages. So we will write a new frontend to HAL.
Line 18: Line 18:
Maisie wants to suspend her laptop but it doesn't work currently with Kubuntu. Maisie wants to suspend her laptop but it doesn't work currently with Kubuntu because klaptopdaemon uses an obsolete method to detect if suspend is possible.

Rhuaridh wants to change the brightness of his laptop but finds that klaptopdaemon has no option to do this.

Boab wants to install kpowersave as the only reliable way to get power management in Kubuntu but finds this uninstalls several Ubuntu power management packages.
Line 22: Line 26:
Find the best programme for the job and fix it up for Kubuntu. KDE frontend to the properties exposed by HAL. Any laptop specific issues should be solved below HAL.
Line 25: Line 29:

== Implementation ==

=== Code ===

=== Data preservation and migration ===

== Outstanding issues ==

== BoF agenda and discussion ==

What are planned changes in Ubuntu laptop support for Edgy (kernel/swsusp/uswsusp, powernowd, acpi-support, hotkey-setup, laptop-mode-tools, hal, pmi, )? Kubuntu should follow developments there as close as possible in order not to increase the gap between Ubuntu and Kubuntu laptop support.

KLaptopdaemon or KPowersave? More info on KubuntuPowersave page.
 * KLaptopdaemon directly works with /proc FS (acpi, apm) -> need to switch to hal (will work on more HW)
 * KLaptopdaemon config module is cluttered and complex -> needs simplification and good defaults (+autoconfiguration)
 * KLaptopdaemon is missing nice-to-have features of KPowersave (brightness control, scheme...)
 * Powersave uses own scripts for power management -> need to use acpi-support/pmi/laptop-mode-tools as base (will work on more HW)
 * KPowersave would need configuration module (kde-guidance?) to replace yast2 used in SuSE (+good defaults and autodetection)

Should work out the box and make use of Ubuntu work as much as possible.

Should offer stuff like a nice slider to dim the display.

Should integrate Suspend/Hibernate into KDE logout dialog - [https://wiki.kubuntu.org/KubuntuPowersave#head-ad7d472db3598a4e26e2854d975e69be09f94cb6 see proposed patch].

Should recieve wider community testing as part of LaptopTestingTeam (e.g. Canonical supplied laptops should be tested also with Kubuntu).

More info on power management: useful reading on [http://lwn.net/Articles/181888/ LWN].

Jonathan's notes from talking to mjg59 KubuntuLaptopNotes

== Comments ==
(Arnaud Quette) Consider UPS support through [http://www.networkupstools.org/ Network UPS Tools], [http://www.alo.cz/knutclient/ KNutClient], maybe [http://www.alo.cz/knutsetting/ KNutSettings] and the [http://lists.alioth.debian.org/pipermail/nut-upsdev/2006-May/000927.html Common Power Management] effort with HAL.

----
CategorySpec

Summary

Write a power management tool for KDE based on HAL.

Rationale

The existing klaptopdaemon uses obsolete technologies and is hard to maintain. The alternative kpowersave duplicates a lot of the power management support included in Ubuntu and exposed through HAL, this would make it very hard to support and it conflicts with Ubuntu packages. So we will write a new frontend to HAL.

Use cases

Maisie wants to suspend her laptop but it doesn't work currently with Kubuntu because klaptopdaemon uses an obsolete method to detect if suspend is possible.

Rhuaridh wants to change the brightness of his laptop but finds that klaptopdaemon has no option to do this.

Boab wants to install kpowersave as the only reliable way to get power management in Kubuntu but finds this uninstalls several Ubuntu power management packages.

Scope

KDE frontend to the properties exposed by HAL. Any laptop specific issues should be solved below HAL.

Design

KubuntuPowerManagement (last edited 2008-08-06 16:21:08 by localhost)