public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: "Albert D. Cahalan" <acahalan@cs.uml.edu>
Cc: andrew.grover@intel.com, kernel list <linux-kernel@vger.kernel.org>
Subject: Re: Better battery info/status files
Date: Tue, 6 Feb 2001 16:40:49 +0100	[thread overview]
Message-ID: <20010206164049.L1412@bug.ucw.cz> (raw)
In-Reply-To: <20010202155341.A149@bug.ucw.cz> <200102032322.f13NMZp438329@saturn.cs.uml.edu>
In-Reply-To: <200102032322.f13NMZp438329@saturn.cs.uml.edu>; from Albert D. Cahalan on Sat, Feb 03, 2001 at 06:22:34PM -0500

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/

  parent reply	other threads:[~2001-02-06 17:51 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-02 14:53 Better battery info/status files Pavel Machek
2001-02-03 23:22 ` Albert D. Cahalan
2001-02-03 23:31   ` Russell King
2001-02-04 11:53     ` James Sutherland
2001-02-04 13:14       ` Steve Underwood
2001-02-04 13:58       ` David Woodhouse
2001-02-04 14:51         ` Ben Ford
2001-02-04 15:42           ` James Sutherland
2001-02-04 16:16             ` David Woodhouse
2001-02-04 23:15               ` Ben Ford
2001-02-04 16:19             ` Steve Underwood
2001-02-04 16:46               ` James Sutherland
2001-02-04 16:49           ` Alan Cox
2001-02-06 15:40   ` Pavel Machek [this message]
2001-02-06 15:42   ` Pavel Machek
2001-02-04  0:03 ` Jonathan Morton
2001-02-04  0:40   ` Albert D. Cahalan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010206164049.L1412@bug.ucw.cz \
    --to=pavel@suse.cz \
    --cc=acahalan@cs.uml.edu \
    --cc=andrew.grover@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox