linux-mips
[Top] [All Lists]

Re: Advice on battery support [was: Advice on APM-EMU reunion]

To: "Rodolfo Giometti" <giometti@enneenne.com>
Subject: Re: Advice on battery support [was: Advice on APM-EMU reunion]
From: "Matt Reimer" <mattjreimer@gmail.com>
Date: Thu, 1 Feb 2007 10:19:08 -0800
Cc: "Paul Mundt" <lethal@linux-sh.org>, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.arm.linux.org.uk, linux-mips@linux-mips.org
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NxZwV5fA/hOundN27tL+DIZz2UORFMDQQWJ5O2eIuwiow3bCC7BcEjQG7/WAOXuHekdh71xuycAhap+88kQ/MVa7SOv/wua9B1WQEg0CLMfgHWHywyvJO6zpJquXQAu0WQ+SDv0aS65q4eu0PEwV7myZeb7zpBFP6GS2yeeK3nc=
In-reply-to: <20070201095904.GE8882@enneenne.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20070129230755.GA8705@enneenne.com> <20070130010055.GA15907@linux-sh.org> <20070201095904.GE8882@enneenne.com>
Sender: linux-mips-bounce@linux-mips.org
On 2/1/07, Rodolfo Giometti <giometti@enneenne.com> wrote:

Ok, starting from these patches I'd like to add a "battery support" to
the kernel.

What I suppose to do is a new class with a proper methods useful to
collect several info on battery status, such as get_ac_line_status()
get_battery_status(), get_battery_flags(),
get_remaining_battery_life() and so on.

Wasn't there recently a big discussion on lkml about a battery class?

Matt

<Prev in Thread] Current Thread [Next in Thread>