Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 6 Feb 2001 12:51:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 6 Feb 2001 12:51:46 -0500 Received: from [194.213.32.137] ([194.213.32.137]:6660 "EHLO bug.ucw.cz") by vger.kernel.org with ESMTP id ; Tue, 6 Feb 2001 12:51:33 -0500 Message-ID: <20010206164049.L1412@bug.ucw.cz> Date: Tue, 6 Feb 2001 16:40:49 +0100 From: Pavel Machek To: "Albert D. Cahalan" Cc: andrew.grover@intel.com, kernel list Subject: Re: Better battery info/status files In-Reply-To: <20010202155341.A149@bug.ucw.cz> <200102032322.f13NMZp438329@saturn.cs.uml.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93i In-Reply-To: <200102032322.f13NMZp438329@saturn.cs.uml.edu>; from Albert D. Cahalan on Sat, Feb 03, 2001 at 06:22:34PM -0500 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi! > > This fixes units, and makes format tag: value. Please apply. > > The units seem to vary. I suggest using fundamental SI units. > That would be meters, kilograms, seconds, and maybe a very > few others -- my memory fails me on this. > > Power meter applets will be eternally buggy if you force them > to deal with units that change. In fact there is no reason to > print the units if you always use the fundamental units. Problem is that _hardware_ wants to talk us two different units. Sometimes it wants to tell us watts. Sometimes hw wants to tell us volts and ampers. I believe kernel should not do any translation. [It is _not_ trivial -- if battery voltage changes with time.] Pavel -- I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care." Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org - 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/