From: Federico Di Gregorio <fog-NGVKUo/i/6DYtjvyW6yDsg@public.gmane.org>
To: ACPI Devel Mailing List
<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: Is it possible to have more than two batteries in a laptop?
Date: 29 Sep 2002 22:52:30 +0200 [thread overview]
Message-ID: <1033332750.1096.12.camel@momo> (raw)
In-Reply-To: <20020929195545.79555136.hanno-Mmb7MZpHnFY@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1193 bytes --]
Il dom, 2002-09-29 alle 19:55, Hanno Böck ha scritto:
> I'm currently working on a patch for the gnome battery-applet (battstat-applet) to work with two batteries.
> Now I have a version working with two batteries, but it would not work if there are more than two batteries.
> So I wanted to know if there are laptops which can have more than two batteries at the same time?
> If not, my patch is fine. If yes, I would have to enhance it.
as any other people patching batstat-applet, you're hardcoding into it
the names of *your* apci devices. my ac/dc is names AC (and not ACDC
like yours) and the battery is BAT0. the _only_ way to have a battstat
working with any hardware is to scan the /proc directories and use the
names found here.
--
Federico Di Gregorio
Debian GNU/Linux Developer & Italian Press Contact fog-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org
INIT.D Developer fog-NGVKUo/i/6DYtjvyW6yDsg@public.gmane.org
Se si insegna a un bambino a programmare in qualche linguaggio
informatico, questo esercizio logico lo renderà padrone e non
schiavo del computer. -- Umberto Eco
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2002-09-29 20:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-29 17:55 Is it possible to have more than two batteries in a laptop? Hanno Böck
[not found] ` <20020929195545.79555136.hanno-Mmb7MZpHnFY@public.gmane.org>
2002-09-29 20:52 ` Federico Di Gregorio [this message]
2002-09-30 2:12 ` Pavel Machek
-- strict thread matches above, loose matches on Subject: below --
2002-10-01 12:11 Herbert Nachtnebel
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=1033332750.1096.12.camel@momo \
--to=fog-ngvkuo/i/6dytjvyw6ydsg@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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