LWN.net Logo

Advertisement

E-Commerce & credit card processing - the Open Source way!

Advertise here

Power managers

Posted Dec 7, 2006 9:40 UTC (Thu) by usr (guest, #42092)
In reply to: Power managers by fergal
Parent article: Ubuntu "Feisty" Herd 1 released

No, unfortunately it works exactly the way you suggest it should not. The
logic is indeed duplicated across the GUI interfaces. The little
crash-prone applet sitting in the system tray is in fact the "daemon"
making the decisions about power management. Power management does not
work when you are not logged in. If more than one user is logged in, who
knows what might happen?

More specifically it works something like this:

Information about system state:
HAL -> DBUS -> Applet

Power management instructions:
Applet -> DBUS -> HAL

There is another power management solution, kpowersave+powersaved, that
originated with SUSE and that works the way you suggest it should. Some
powersave developers were rather offended by the development of the
current power management solution in Ubuntu, specifically Kubuntu. There
are also plenty of comments suggesting to split off a power management
daemon from the GUI.

Ironically, the reason why the architecture is broken today is that the
Ubuntu solution originated as a GNOME hack written by a developer who
didn't know how to write a system daemon. To his credit he acknowledged
that that a separate daemon would have been the right thing, but no-one
stepped forward to write one at the time.


(Log in to post comments)

Power managers

Posted Dec 8, 2006 1:19 UTC (Fri) by fergal (subscriber, #602) [Link]

It's kinda bizarre that someone could write a GUI powermanager but couldn't figure out how to write a daemon.

I'd file a bug but "everything about your project is wrong" bugs don't tend to go too well.

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.