anacron
Scott James Remnant
scott at canonical.com
Mon Nov 15 09:38:22 CST 2004
On Sun, 2004-11-14 at 11:23 -0800, Matt Zimmerman wrote:
> On Sun, Nov 14, 2004 at 10:21:29AM +0100, Carlos Perelló Marín wrote:
>
> > On Sun, 2004-11-14 at 09:13 +0000, Scott James Remnant wrote:
> > [...]
> >
> > > > Better, I think, but more work, if anacron itself were made battery-aware.
> > > >
> > > It is -- but the Debian package only includes the APM side of things, we
> > > need to add the ACPI equivalents.
> >
> > And PMU, please, don't forget PPC users O:-)
> >
> > I think we need a common power management system...
>
> The right way to do this is to use on_ac_power(1) from powermgmt-base, which
> already handles APM, ACPI and PMU.
>
I think Carlos was inferring that we need a common power-management
events system. Currently APM, PMU and ACPI both have their own events
management, if you want something run when the laptop switches to
battery power -- you need to write that something three times.
Scott
--
Scott James Remnant
scott at canonical.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ubuntu.com/archives/ubuntu-devel/attachments/20041115/9fed74a1/attachment.pgp
More information about the ubuntu-devel
mailing list