From mboxrd@z Thu Jan 1 00:00:00 1970 From: Malte Thoma Subject: More than one battery Date: Sun, 05 Jan 2003 19:43:51 +0100 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <3E187CE7.10204@uni-muenster.de> References: Reply-To: thoma-iYtK5bfT9M8b1SvskN2V4Q@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: danielk-L9gzEf+okJWVc3sceRu5cw@public.gmane.org, heatload-general-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, acpi-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org QUESTION TO THE GURUS: Are there more things (excpt the battery) that could me multiple? Hallo Daniel, thank you for your message. You are right. Until know heatload does only support ONE battery. You change the one which is used in the configuration file. If it doesn't help please let me know. Your message is a good reason to include a mulit-battery-support as far as possible (lets say within one week ;-) Greetings, Malte Daniel Thor Kristjansson wrote: > I'm sending you the cat of BAT1/state & BAT2/state for my laptop right > now. It seems heatload has a problem with the 'not present' state. I > don't know if it would have found the second battery if it had figured > out the first one isn't installed right now. But I sent it's info as > well. > > -- Daniel > > philistine{danielk}61: ./src/heatload > looking for /home/danielk/heatload_0.4.2/.heatloadrc > looking for /home/danielk/.heatloadrc > 'Present Rate:' should be 'charging', 'discharging' or 'unknown' > in '/proc/acpi/battery/BAT1/state' > but I it is '' assuming 'unknown' > if you have a 'charging state' in /proc/acpi/battery/BAT1/state > (or anywhere else) please submit a 'cat' of this file to me > philistine{danielk}62: cat /proc/acpi/battery/BAT1/state > present: no > philistine{danielk}63: cat /proc/acpi/battery/BAT2/state > present: yes > capacity state: ok > charging state: charging > present rate: 210 mW > remaining capacity: 43830 mWh > present voltage: 160 mV > philistine{danielk}64: > > . > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf