Bug 63491

Summary: ASUSTeK TX300CA: second battery is not detected
Product: ACPI Reporter: mealejan (alejandro)
Component: Power-BatteryAssignee: Lan Tianyu (tianyu.lan)
Status: CLOSED INVALID    
Severity: high CC: joaquim.ortega, tianyu.lan, yoann.losbar
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.x Subsystem:
Regression: No Bisected commit-id:
Attachments: Output of dmidecode
Output of lspci
Acpidump dump
Output of "grep . /sys/class/power_supply/BAT0/*"
debug.patch
Output of grep . /sys/class/power_supply/BAT0/*
Output of dmesg of the patched kernel

Description mealejan 2013-10-22 17:05:31 UTC
Created attachment 111951 [details]
Output of dmidecode

On my convertible TX300CA from Asus the battery in the dock isn't recognized. This limits the runtime to 1.5 hours.
Comment 1 mealejan 2013-10-22 17:06:40 UTC
Created attachment 111961 [details]
Output of lspci
Comment 2 Lan Tianyu 2013-10-23 01:05:13 UTC
Please provide the output of acpidump.
Comment 3 mealejan 2013-10-23 13:23:29 UTC
Created attachment 112081 [details]
Acpidump dump
Comment 4 mealejan 2013-10-25 17:41:39 UTC
Can I provide any more info to help you resolve the issue?
Comment 5 Lan Tianyu 2013-10-28 02:03:59 UTC
Please provide the output of "grep . /sys/class/power_supply/BAT0/*" when the machine is in the dock.
Comment 6 mealejan 2013-10-28 15:27:56 UTC
Created attachment 112551 [details]
Output of "grep . /sys/class/power_supply/BAT0/*"
Comment 7 Lan Tianyu 2013-12-05 00:39:44 UTC
Created attachment 117521 [details]
debug.patch

Sorry for later response. Please apply the debug patch and rebuild kernel. After booting, run "grep . /sys/class/power_supply/BAT0/*" and attach the dmesg. The debug patch is to print the value of state returned by Bios.
Comment 8 Lan Tianyu 2013-12-11 14:45:20 UTC
ping ..
Comment 9 mealejan 2013-12-11 14:50:28 UTC
I am at it.
Comment 10 yoann.losbar 2013-12-11 15:13:04 UTC
I have got a TX300CA too, and the same problem, and I'm available for making some tests on it if you need to, guys.
Comment 11 mealejan 2013-12-11 17:57:57 UTC
grep: /sys/class/power_supply/BAT0/subsystem: Ist ein Verzeichnis
/sys/class/power_supply/BAT0/technology:Li-ion
/sys/class/power_supply/BAT0/type:Battery
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_NAME=BAT0
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_STATUS=Unknown
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_PRESENT=1
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_TECHNOLOGY=Li-ion
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CYCLE_COUNT=380
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_VOLTAGE_MIN_DESIGN=7600000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_VOLTAGE_NOW=7600000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_POWER_NOW=0
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_ENERGY_FULL_DESIGN=38000000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_ENERGY_FULL=36046000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_ENERGY_NOW=34792000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CAPACITY=96
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_MODEL_NAME=TX30--50
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_MANUFACTURER=ASUSTeK
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_SERIAL_NUMBER= 
/sys/class/power_supply/BAT0/voltage_min_design:7600000
/sys/class/power_supply/BAT0/voltage_now:7600000
Comment 12 mealejan 2013-12-11 18:03:31 UTC
Created attachment 118091 [details]
Output of grep . /sys/class/power_supply/BAT0/*

Ptched Kernel 3.12.4
Comment 13 Lan Tianyu 2013-12-12 08:52:31 UTC
Please attach the dmesg after grepping sysfs interface with the patch in the comment 7.
Comment 14 mealejan 2013-12-13 09:31:50 UTC
Created attachment 118231 [details]
Output of dmesg of the patched kernel
Comment 15 Lan Tianyu 2014-05-21 07:37:29 UTC
Hi, Sorry for later response. After reviewing the bug, I found I went a wrong direction. In the ACPI table, I only find one Battery device(BAT0) that we see. About the second battery, it wasn't shown in the DSDT table and so this is not a ACPI bug.