Subject: Re: reboot due to critical battery level
To: None <tech-kern@NetBSD.org>
From: Jared D. McNeill <jmcneill@invisible.ca>
List: tech-kern
Date: 12/20/2007 16:49:03
On Thu, 20 Dec 2007, Bernd Ernesti wrote:
>> Running the userspace power service, powerd(8), overrides the kernel's
>> behaviour.
>
> Thats maybe nice, but is very unexpected. I wouldn't expect that the
> system powers itself down if powerd is not running.
It's going to power itself down anyway since it has run out of battery.
> Was there a discussion to add such a 'kernel' feature and where?
This feature has been around for years. Clearly it hasn't bothered you in
the past.
> Yes, I know that the branch was just merged and that there are problems
> to be expected to show up. And btw, didn't this kind of problems happend
> before on the branch, so this is not a problem of the merge itself.
So lets fix them.
> You are talking about a notebook, but I see it from a server side where
> such an action can't and shouldn't happen. At least we don't have the
> infrastructure to deal with dual power supplies and the failure for of one
> it, where this should't primary be decided in the kernel, because it is
> not flexible enough and therefor not a good default action.
You have a server with an ACPI battery?
Jared