what is the sysfs entry for the battery?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  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
========================================================================
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux