acpi battery rework patch

Nate Lawson nate at root.org
Mon Jul 25 17:46:08 GMT 2005


On Sun, 24 Jul 2005 12:47:13 +0900
Eric Kjeldergaard <kjelderg at gmail.com> wrote:
>>Excellent.  compiled and appears working.  It does however have
>>different values than the old system for some of the sysctl variables.
>> I get
>>
>>hw.acpi.battery.life: 98
>>hw.acpi.battery.time: 0
>>hw.acpi.battery.state: 0
>>hw.acpi.battery.units: 1
>>hw.acpi.battery.info_expire: 5
>>
>>when plugged in.  But used to get time as -1 when plugged in and I
>>think state may have been 1 when plugged in before (less sure about
>>that than the time).  Thanks for the enormous amount of work your
>>efforts are very much appreciated,

Ok, I have tested and committed a patch that corrects the output for 
"time".  I was able to verify that the behavior should be "unknown" when 
charging/online rather than "0".

I just need Marcin's debug output now from the patch I sent earlier today.

Thanks,
-- 
Nate


More information about the freebsd-current mailing list