https://bugzilla.novell.com/show_bug.cgi?id=824647
https://bugzilla.novell.com/show_bug.cgi?id=824647#c12
Joey Lee changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jlee@suse.com
--- Comment #12 from Joey Lee 2013-10-03 04:55:12 UTC ---
Thanks for your DSDT, check the BAT1 device in DSDT found it call into
different path to grab Battery State when ECON=1:
Method (_BST, 0, NotSerialized) /* return battery state, 0x01:
discharging, 0x02: charging */
{
If (LEqual (ECON, Zero)) /* ECON means EC acpi driver ready, it called
_REG */
{
Store (SECB (0x81, 0x84), Local0) /* grab battery state from EC
register? or from SMI? */
If (LAnd (LNotEqual (Local0, Zero), LNotEqual (Local0, 0x05)))
{
If (LEqual (PWRS, One))
{
Store (0x02, Local0) /* 0x02: charging */
}
Else
{
Store (One, Local0) /* 0x01 is discharging
*/
}
}
When ECON=0:
Else
{
Store (B1ST, Local0) /* grab battery state direct from EC
register before ECON? */
If (LAnd (LNotEqual (Local0, Zero), LNotEqual (Local0, 0x05)))
{
If (LEqual (PWRS, One))
{
Store (0x02, Local0)
}
Else
{
Store (One, Local0)
}
}
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.