[Bug 227191] Cannot check battery status after upgrading to 12-CURRENT from r330529 to r331748 (ACPI problems)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Aug 25 11:01:20 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227191

Ali Abdallah <aliovx at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aliovx at gmail.com

--- Comment #10 from Ali Abdallah <aliovx at gmail.com> ---
Created attachment 196523
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=196523&action=edit
Fix battery detection code

I worked out a patch to fix the problem. It fixes the issue for me on my
corebooted Thinkpad x230. 

On non *BAT0_STA method, acpi_GetInteger returns AE_NOT_EXIST on the new acpica
code, since _STA core was removed. 

Give it a try.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-acpi mailing list