https://bugzilla.kernel.org/show_bug.cgi?id=15999





--- Comment #7 from Zhang Rui <[email protected]>  2010-06-04 02:58:39 ---
This seems to be an AML code problem to me.

This is the package that contains the battery status.
            Name (PBST, Package (0x04)
            {
                0x00,
                0xFFFFFFFF,
                0xFFFFFFFF, /* battery remaining capacity */
                0x2710
            })

And this is the AML code that returns the battery remaining capacity,
                If (LEqual (Local1, 0x01))
                {
                    If (And (0x04, \_SB.PCI0.LPCB.EC0.BATF))
                    {
                        Store (\_SB.PCI0.LPCB.EC0.B1FC, Index (PBST, 0x02))
                    }
                    Else
                    {
                    }
                }
                Else
                {
                    Store (\_SB.PCI0.LPCB.EC0.MBRM, Index (PBST, 0x02))
                }
we can see that the battery remaining capacity field is not set in some
cases(maybe the ACPI plugged && battery full charged case?)
And battery remaining capacity 0xFFFFFFFF may be reported to OS in this case.

To verify this, I'll attach a custom DSDT and it would be great if you can
apply it and see if the problem goes away.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to