Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 May 2004 10:52:11 +0100
From:      "Liam J. Foy" <liamfoy@sepulcrum.org>
To:        "Grover, Andrew" <andrew.grover@intel.com>
Cc:        freebsd-acpi@freebsd.org
Subject:   Re: APM Patch - review
Message-ID:  <20040526105211.3b6667ac.liamfoy@sepulcrum.org>
In-Reply-To: <F760B14C9561B941B89469F59BA3A8470647F8A8@orsmsx401.amr.corp.intel.com>
References:  <F760B14C9561B941B89469F59BA3A8470647F8A8@orsmsx401.amr.corp.intel.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 25 May 2004 15:43:55 -0700
"Grover, Andrew" <andrew.grover@intel.com> wrote:

> Valid values for remaining battery life are 0xFF, and 0-100.
> 
> -1, 255 and 0xFF are the SAME when looking at an 8 bit value. Since this
> 8 bit value was sign-extended to 32 bits to go into ai_batt_time, if it
> was 0xFF, it is now 0xFFFFFFFF, and you will never see 0x000000FF.
> 
> I will email you the APM spec privately (it's big). Please take a look
> at page 42 especially.
> 
> Regards -- Andy
Ah I see.

This would mean alot of the apm code in function print_all_info is not needed. Correct?

That manual is great Andy! Thanks:)!
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040526105211.3b6667ac.liamfoy>