From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Robert P. J. Day" Subject: Re: what is the sysfs entry for the battery? Date: Thu, 22 May 2014 08:53:07 -0400 (EDT) Message-ID: References: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: Received: from astoria.ccjclearline.com ([64.235.106.9]:55322 "EHLO astoria.ccjclearline.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750842AbaEVMzm (ORCPT ); Thu, 22 May 2014 08:55:42 -0400 Received: from [99.240.204.5] (port=45076 helo=crashcourse.ca) by astoria.ccjclearline.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80) (envelope-from ) id 1WnSXB-0004GQ-4C for linux-acpi@vger.kernel.org; Thu, 22 May 2014 08:55:45 -0400 In-Reply-To: Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: linux-acpi@vger.kernel.org On Thu, 22 May 2014, Robert P. J. Day wrote: > > currently doing a bit of cleanup to drivers/acpi/Kconfig, and one > reads this: > > config ACPI_BATTERY > tristate "Battery" > depends on X86 > select POWER_SUPPLY > default y > help > This driver adds support for battery information through > /proc/acpi/battery. If you have a mobile system with a battery, > say Y. > > naturally, the reference to /proc/acpi/battery is a bit outdated, so > i wanted to update that line -- is the current reference to the > battery now /sys/class/power_supply/, and probably called "BAT0"? or > am i misreading that? thanks. never mind, it's pretty clear that's where it is. sorry for the noise. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================