Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965890AbWKEVCy (ORCPT ); Sun, 5 Nov 2006 16:02:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965888AbWKEVCy (ORCPT ); Sun, 5 Nov 2006 16:02:54 -0500 Received: from smtp-100-sunday.nerim.net ([62.4.16.100]:14353 "EHLO kraid.nerim.net") by vger.kernel.org with ESMTP id S965890AbWKEVCx convert rfc822-to-8bit (ORCPT ); Sun, 5 Nov 2006 16:02:53 -0500 Date: Sun, 5 Nov 2006 22:02:48 +0100 From: Jean Delvare To: Pavel Machek Cc: U Kuehn , linux-thinkpad@linux-thinkpad.org, Henrique de Moraes Holschuh , Greg KH , Shem Multinymous , David Zeuthen , Richard Hughes , David Woodhouse , Dan Williams , linux-kernel@vger.kernel.org, devel@laptop.org, sfr@canb.auug.org.au, len.brown@intel.com, benh@kernel.crashing.org Subject: Re: [ltp] Re: [PATCH v2] Re: Battery class driver. Message-Id: <20061105220248.4f495ca7.khali@linux-fr.org> In-Reply-To: <20061105205218.GB1847@elf.ucw.cz> References: <1162048148.2723.61.camel@zelda.fubar.dk> <41840b750610281112q7790ecao774b3d1b375aca9b@mail.gmail.com> <20061031074946.GA7906@kroah.com> <41840b750610310528p4b60d076v89fc7611a0943433@mail.gmail.com> <20061101193134.GB29929@kroah.com> <41840b750611011153w3a2ace72tcdb45a446e8298@mail.gmail.com> <20061101205330.GA2593@kroah.com> <20061101235540.GA11581@khazad-dum.debian.net> <20061102220145.GB2192@elf.ucw.cz> <454B4042.7050307@acm.org> <20061105205218.GB1847@elf.ucw.cz> X-Mailer: Sylpheed version 2.2.9 (GTK+ 2.6.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1107 Lines: 24 On Sun, 5 Nov 2006 21:52:18 +0100, Pavel Machek wrote: > On Fri 2006-11-03 14:12:22, U Kuehn wrote: > > That very much depends on the system. Having a laptop where the current > > power consumption is around 10 Watts (or, at about 10 to 12 Volts, > > nearly 1 A), having a resolution of 10 or even 100 mA would be OK. > > However, on your cellphone with a standby consumption of 2mA, such a > > resolution would be meaningless. What kind of resultion does the > > hardware usually support? > > I do not know details. Siemens phones have current monitors, but I do > not recall how accurate those are. Anyway, at least for some > applications mA is not enough, so we probably should use finer > unit. Or use ampers and let kernel be "as precise as it needs" in > simulated floating point. No. Fixed point, please. Use ?A as the unit if needed. -- Jean Delvare - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/