* what is the sysfs entry for the battery?
@ 2014-05-22 12:44 Robert P. J. Day
2014-05-22 12:53 ` Robert P. J. Day
0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2014-05-22 12:44 UTC (permalink / raw)
To: linux-acpi
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
========================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: what is the sysfs entry for the battery?
2014-05-22 12:44 what is the sysfs entry for the battery? Robert P. J. Day
@ 2014-05-22 12:53 ` Robert P. J. Day
0 siblings, 0 replies; 2+ messages in thread
From: Robert P. J. Day @ 2014-05-22 12:53 UTC (permalink / raw)
To: linux-acpi
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
========================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-05-22 13:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-22 12:44 what is the sysfs entry for the battery? Robert P. J. Day
2014-05-22 12:53 ` Robert P. J. Day
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).