RE: ACPI fix + comments

From: Grover, Andrew (andrew.grover@intel.com)
Date: Wed Jan 31 2001 - 18:05:50 EST


> From: Drew Bertola [mailto:drew@drewb.com]
> > This is a temporary interface, just to see if we're returning values
> > properly. Your points below are well taken. People really care about
> > minutes/percentage remaining. In your opinion should we
> just report that
> > through /proc or should we keep the data low-level like it
> is now, and have
> > a user app do the math, or what?
>
> I'd be happy with the way it is now if I could understand the data.
> Is there any documentation available to help me convert it?

Well the ACPI spec (http://www.teleport.com/~acpi/spec.htm) talks about the
returned values, and I'm guessing the calculation is just (x capacity (mAh)
/ y draw (mA) = time left).

But like I said this interface is a placeholder.

-- Andy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jan 31 2001 - 21:00:41 EST