Subject: Re: envsys framework won't let my system stay up!
To: Greg Troxel <gdt@ir.bbn.com>
From: Oliver Gould <ogould@olix0r.net>
List: current-users
Date: 07/17/2007 09:56:25
On 2007-07-17 09:48 -0500, Greg Troxel wrote:
> 
> Juan RP <juan@xtrarom.org> writes:

> > - Remove the shutdown call in /etc/powerd/scripts/sensor_battery.
> 
> I think this is the right fix for now.

> 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
> rest of the system.

Is it possible to determine whether there are other usable batteries
from the powerd script (say, with envstat)?  Would that be a reasonable
interim solution?

  - Oliver