http://bugzilla.kernel.org/show_bug.cgi?id=10094


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|[EMAIL PROTECTED]  |[EMAIL PROTECTED]
                   |bugs.osdl.org               |
             Status|NEW                         |ASSIGNED




------- Comment #7 from [EMAIL PROTECTED]  2008-02-26 01:50 -------
Hi, Daniel
    It seems that the problem is related with BIOS. The status of the battery
is related with the following AML code:
 >    Method (_STA, 0, NotSerialized)
                    {
                        If (LAnd (ECOK (), LEqual (ECDY, Zero)))
                        {
                            If (^^EC0.BAL0)
                            {
                                Sleep (0x14)
                                Return (0x1F)
                            }
                            Else
                            {
                                Sleep (0x14)
                                Return (0x0F)
                            }
                        }
                        Else
                        {
                            Sleep (0x14)
                            Return (0x1F)
                        }
                    }
> 
    From the above AML code we can know that the status of the battery is
related with the variable of ECDY. The initial value of ECDY is 5 and it will
be decreased when the battery state is updated. But when ECDY is greater than
zero, the status will always be present. Only when ECDY is decreased to zero
can OS can report the correct stutus of the battery.(ECOK reflects the status
of EC controller after EC driver is loaded successfully).



-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the assignee for the bug, or are watching the assignee.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to