Subject: Re: reboot due to critical battery level
To: None <>
From: Jared D. McNeill <>
List: tech-kern
Date: 12/20/2007 15:57:16
On Thu, 20 Dec 2007, Bernd Ernesti wrote:
> The kernel things it knows all power state and what it has to do and
> you can't disable this behaviour?

Running the userspace power service, powerd(8), overrides the kernel's 

> This seeems to be very wrong. That code should be disabled by default.
> At least for now, given all the acpi problems. Later we can add a switch
> to disable that kernel interface and don't get into any acpi trouble.

All the ACPI problems? Give me a break, we just finished a major rototill 
on a _development branch_ of NetBSD and had a ~1 week window where a small 
number of machines had issues.

Can you point to a specific issue that causes invalid shutdown 
notifications on -current that is caused by an ACPI problem?

> I wouldn't trust such a system where the kernel decides to issue a shutdown
> because of a wrong event.

I wouldn't trust a system that would rather trash my filesystem than 
gracefully shutdown when it detects a low power condition.