From: Ow Mun Heng Subject: Re: ACPI: Battery information? Date: Tue, 08 Jun 2004 08:47:29 +0800 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <1086673290.5925.10.camel@Neuromancer.home.net> References: <40C4FD27.7000805@users.xeroprj.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <40C4FD27.7000805-BC6XjCpM3eF0abU8S3f8Vti2O/JbrIOy@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org On Mon, 2004-06-07 at 16:41, Binary Xerroz wrote: > Forgive me if this is off topic in anyway, that said; I am curious how > ACPI detects batteries, I assume its done while the kernel is > initializing, is this true? Also, how is a battery detected? via tables > such as the DSDT or equivalent? One last thing, could someone point me > to the file where the batteries are listed and detected, I have spent > some time looking through the code and have yet to find it. Are you looking for this??? /usr/src/linux/drivers/acpi/battery.c -- ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org