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

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

 



Hi,

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 likely to be an issue with thinkpad-acpi?

While investigating this I noticed the following in dmesg when I
(dis)connect AC power.

[ 1652.581659] thinkpad_acpi: unknown possible thermal alarm or
keyboard event received
[ 1652.581673] thinkpad_acpi: unhandled HKEY event 0x6040
[ 1652.581680] thinkpad_acpi: please report the conditions when this
event happened to ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx
[ 1652.582586] thinkpad_acpi: EC reports that Thermal Table has changed

I am running Arch on an X220:

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

This is what I get when I load thinkpad-acpi

[ 1812.181747] thinkpad_acpi: ThinkPad ACPI Extras v0.24
[ 1812.181750] thinkpad_acpi: http://ibm-acpi.sf.net/
[ 1812.181752] thinkpad_acpi: ThinkPad BIOS 8DET54WW (1.24 ), EC unknown
[ 1812.181754] thinkpad_acpi: Lenovo ThinkPad X220, model 4287CTO
[ 1812.182235] thinkpad_acpi: detected a 8-level brightness capable ThinkPad
[ 1812.182380] thinkpad_acpi: radio switch found; radios are enabled
[ 1812.182523] thinkpad_acpi: possible tablet mode switch found;
ThinkPad in laptop mode
[ 1812.183984] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio
is unblocked
[ 1812.184366] Registered led device: tpacpi::thinklight
[ 1812.184456] Registered led device: tpacpi::thinkvantage
[ 1812.184464] thinkpad_acpi: Standard ACPI backlight interface
available, not loading native one
[ 1812.184593] thinkpad_acpi: Console audio control enabled, mode:
monitor (read only)
[ 1812.185674] input: ThinkPad Extra Buttons as
/devices/platform/thinkpad_acpi/input/input17

Cheers, Jamie

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel


[Index of Archives]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite Advice]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux