Comment 4 for bug 250935

Revision history for this message
Tore Anderson (toreanderson) wrote :

I'm a bit off-topic here, but seeing how this bug is about moving functionality from acpi-support to laptop-mode, I'm wondering if you know where pm-utils fits in?

That package also does a bit of toggling power saving functions when switching between mains/battery. I recently submitted a patch for SATA ALPM, too. However I have no idea if there actually is a strategy to gather up all of those scripts in pm-utils or laptop-mode (and eventually deprecate the other) or if they're supposed to be (arbitrarily) distributed between them. It seems a rather chaotic at the moment, to be frank. I wonder if there's any official "master plan" here...

Anyway, I hope your patch makes it in (as well as the one for acpi-support). But in order for it to work properly /etc/default/acpi-support also needs to be updated to ENABLE_LAPTOP_MODE=true which really should be the default - the machines that get "odd hangs" should be blacklisted instead of ruining battery runtime for everyone...

That setting is good example of the chaos I mentioned above, by the way... You'll need to enable functionality provided by package A which is controlled by package B in a configuration file for package C - yikes!

Well, that turned halfway into a rant - apologies. Anyway. If there's any Ubuntu devs listening, please do apply this patch and the one in #250938 before Intrepid, as the way the three power management packages interact now is clearly broken. And hopefully there'll be some strategy to clean up the power management soon. The current state of things is just depressing. If somebody can point out the overall direction I'd love to help out with patches - I'd love to see Ubuntu being able to squeeze the maximum uptime possible out of my battery. :-)

Tore