/sys/class/power_supply/BAT0/ charge_ vs energy_

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

 



Hi,

I have an issue with my Arch installation on an X220 laptop.

Linux jamie-laptop 3.1.5-1-ARCH #1 SMP PREEMPT Sat Dec 10 14:43:09 CET
2011 x86_64 Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz GenuineIntel
GNU/Linux

If I boot with AC plugged in the /sys/class/power_supply/BAT0/
directory is populated with charge_*, but if I boot on battery the
directory is populated with energy_*.

Disconnecting/connecting the power after boot does not effect the file names.

Is this a bug or a feature? It makes scripts harder to write than necessary.

Thanks, Jamie
--
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