* Is it possible to have more than two batteries in a laptop?
@ 2002-09-29 17:55 Hanno Böck
[not found] ` <20020929195545.79555136.hanno-Mmb7MZpHnFY@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Hanno Böck @ 2002-09-29 17:55 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
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.
(If you are interested in the patch: it's against gnome-applets-2.0.3 and you can grab it at:
www.gentoo.org/~hanno/battstat_two_batteries.diff
)
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Is it possible to have more than two batteries in a laptop?
[not found] ` <20020929195545.79555136.hanno-Mmb7MZpHnFY@public.gmane.org>
@ 2002-09-29 20:52 ` Federico Di Gregorio
2002-09-30 2:12 ` Pavel Machek
1 sibling, 0 replies; 4+ messages in thread
From: Federico Di Gregorio @ 2002-09-29 20:52 UTC (permalink / raw)
To: ACPI Devel Mailing List
[-- 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 --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Is it possible to have more than two batteries in a laptop?
[not found] ` <20020929195545.79555136.hanno-Mmb7MZpHnFY@public.gmane.org>
2002-09-29 20:52 ` Federico Di Gregorio
@ 2002-09-30 2:12 ` Pavel Machek
1 sibling, 0 replies; 4+ messages in thread
From: Pavel Machek @ 2002-09-30 2:12 UTC (permalink / raw)
To: Hanno Böck; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi!
> 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.
>
> (If you are interested in the patch: it's against gnome-applets-2.0.3 and you can grab it at:
> www.gentoo.org/~hanno/battstat_two_batteries.diff
> )
>
You should look at ACPI spec. I hope they were not so stupid to limit themselves
to 2...
Pavel
--
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.
-------------------------------------------------------
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server
today at http://www.ServePath.com/indexfm.htm
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Is it possible to have more than two batteries in a laptop?
@ 2002-10-01 12:11 Herbert Nachtnebel
0 siblings, 0 replies; 4+ messages in thread
From: Herbert Nachtnebel @ 2002-10-01 12:11 UTC (permalink / raw)
To: Hanno Böck, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Yes, at least the Compaq Armada Series is able to handle up to three batteries.
Regards, Herbert.
-----Ursprüngliche Nachricht-----
Von: Hanno Böck [mailto:hanno-Mmb7MZpHnFY@public.gmane.org]
Gesendet: So 29.09.2002 19:55
An: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Cc:
Betreff: [ACPI] Is it possible to have more than two batteries in a laptop?
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.
(If you are interested in the patch: it's against gnome-applets-2.0.3 and you can grab it at:
www.gentoo.org/~hanno/battstat_two_batteries.diff
)
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Acpi-devel mailing list
Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/acpi-devel
-------------------------------------------------------
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server
today at http://www.ServePath.com/indexfm.htm
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-10-01 12:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2002-09-30 2:12 ` Pavel Machek
-- strict thread matches above, loose matches on Subject: below --
2002-10-01 12:11 Herbert Nachtnebel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox