Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2018 11:01:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        acpi@FreeBSD.org
Subject:   [Bug 227191] Cannot check battery status after upgrading to 12-CURRENT from r330529 to r331748 (ACPI problems)
Message-ID:  <bug-227191-16045-3EvplXMHfY@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-227191-16045@https.bugs.freebsd.org/bugzilla/>
References:  <bug-227191-16045@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

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

Ali Abdallah <aliovx@gmail.com> changed:

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

--- Comment #10 from Ali Abdallah <aliovx@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.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227191-16045-3EvplXMHfY>