All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Robert P. J. Day" <rpjday@crashcourse.ca>
To: linux-acpi@vger.kernel.org
Subject: what is the sysfs entry for the battery?
Date: Thu, 22 May 2014 08:44:40 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LFD.2.11.1405220841400.3739@localhost> (raw)


  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.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

             reply	other threads:[~2014-05-22 13:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-22 12:44 Robert P. J. Day [this message]
2014-05-22 12:53 ` what is the sysfs entry for the battery? Robert P. J. Day

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=alpine.LFD.2.11.1405220841400.3739@localhost \
    --to=rpjday@crashcourse.ca \
    --cc=linux-acpi@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.