Subject: Re: envsys framework won't let my system stay up!
To: Juan RP <firstname.lastname@example.org>
From: Michael Lorenz <email@example.com>
Date: 07/17/2007 10:09:58
-----BEGIN PGP SIGNED MESSAGE-----
On Jul 17, 2007, at 09:58, Juan RP wrote:
> On Tue, 17 Jul 2007 09:48:23 -0400
> Greg Troxel <firstname.lastname@example.org> wrote:
>> I think this is the right fix for now. I'd like to commit this now to
>> spare others the same trouble - when do you think you'll have a proper
>> fix? A long-term fix seems hard because it requires integrating all
>> batteries and the ac adaptor, and those events are already separated.
>> So the logic to decide what to do needs to have state, or query the
>> of the system.
> I'm going to holidays starting in August, and this fix doesn't seem to
> be too easy to implement. I'm starting to think that we'll have to use
> a common framework to handle events in the kernel to notify the drivers
> about what properties are available.
> For now I've disabled the shutdown call in sensor_battery. I still have
> to think how to fix these problems properly...
Hmm, have the sensors pass a flag like 'this sensor monitors part of
system power', and have powerd shut down only if all sensors with that
flag set are below threshold or off?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
-----END PGP SIGNATURE-----