You are not logged in.
I have been trying to solve a battery issue involving my recently purchased Thinkpad X1 Carbon. It is knew so I highly doubt a battery malfunction, I have already done a battery hardware reset.
The moment I unplug the ac power cable the system shutsdown.
This is the output of journalctl up until the abrupt shutdown.
Jan 22 04:49:39 Avalon kernel: kauditd_printk_skb: 9 callbacks suppressed
Jan 22 04:49:39 Avalon kernel: audit: type=1131 audit(1611308979.072:69): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@976 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 22 04:49:39 Avalon systemd[1]: Stopping User Runtime Directory /run/user/976...
Jan 22 04:49:39 Avalon systemd[950]: run-user-976.mount: Succeeded.
Jan 22 04:49:39 Avalon systemd[1]: run-user-976.mount: Succeeded.
Jan 22 04:49:39 Avalon systemd[1]: user-runtime-dir@976.service: Succeeded.
Jan 22 04:49:39 Avalon systemd[1]: Stopped User Runtime Directory /run/user/976.
Jan 22 04:49:39 Avalon audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@976 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 22 04:49:39 Avalon systemd[1]: Removed slice User Slice of UID 976.
Jan 22 04:49:39 Avalon kernel: audit: type=1131 audit(1611308979.092:70): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@976 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 22 04:49:40 Avalon root[1279]: ACPI group/action undefined: ibm/hotkey / LEN0268:00
Jan 22 04:49:50 Avalon systemd[1]: systemd-hostnamed.service: Succeeded.
Jan 22 04:49:50 Avalon audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 22 04:49:50 Avalon kernel: audit: type=1131 audit(1611308990.778:71): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 22 04:49:50 Avalon audit: BPF prog-id=18 op=UNLOAD
Jan 22 04:49:50 Avalon audit: BPF prog-id=17 op=UNLOAD
Jan 22 04:49:50 Avalon kernel: audit: type=1334 audit(1611308990.902:72): prog-id=18 op=UNLOAD
Jan 22 04:49:50 Avalon kernel: audit: type=1334 audit(1611308990.902:73): prog-id=17 op=UNLOAD
Jan 22 04:49:55 Avalon root[1305]: ACPI group/action undefined: ibm/hotkey / LEN0268:00
Jan 22 04:50:15 Avalon root[1309]: ACPI group/action undefined: ibm/hotkey / LEN0268:00
Jan 22 04:50:26 Avalon root[1349]: ACPI group/action undefined: ibm/hotkey / LEN0268:00
Jan 22 04:50:32 Avalon root[1356]: ACPI group/action undefined: ibm/hotkey / LEN0268:00
Jan 22 04:50:45 Avalon root[1376]: ACPI group/action undefined: ibm/hotkey / LEN0268:00
Jan 22 04:51:14 Avalon root[1380]: ACPI group/action undefined: ibm/hotkey / LEN0268:00
Output of acpi_listen
ibm/hotkey LEN0268:00 00000080 00006032
Last edited by Frostmaine (2021-01-22 10:14:34)
Offline
Does "acpi -b" show the battery? At what charging status/level?
Online
Did you use/read the Thinkpad wiki that applies to your device to get everything up and running?
Perhaps you did mis something.
Offline
There is very little to do with the gen 8 carbon. Unless I need to also do the things for the basic carbon article but I doubt it. I am using Lenovo's firmware update service. I did everything on the Gen 8 wiki page, https://wiki.archlinux.org/index.php/Le … on_(Gen_8)
Offline
Does "acpi -b" show the battery? At what charging status/level?
The output of acpi -b
Battery 0: Unknown, 0%
The output of dmesg | grep battery
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=****** rw loglevel=3 quiet resume battery acpi_call tp_smapi thinkpad_acpi
[ 0.067522] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=****** rw loglevel=3 quiet resume battery acpi_call tp_smapi thinkpad_acpi
[ 0.811490] battery: ACPI: Battery Slot [BAT0] (battery present)
[ 0.844122] battery
[ 1.963388] thinkpad_acpi: battery 1 registered (start 0, stop 100)
[ 1.963393] battery: new extension: ThinkPad Battery Extension
Offline
Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=****** rw loglevel=3 quiet resume battery acpi_call tp_smapi thinkpad_acpiDid something go wrong with bootloader configuration? resume is not assigned a device and battery acpi_call tp_smapi thinkpad_acpi are listed as kernel parameters.
Offline
So I removed those kernel parameters and set resume to load from my swap partition.
Specifically I set my grub default linux parameters to
loglevel=3 quiet resume=/dev/nvme0n1p2
acpi -b now reads
Battery 0: Charging, 0%, charging at zero rate - will never fully charge.
dmesg | grep battery
[ 0.830612] battery: ACPI: Battery Slot [BAT0] (battery present)
[ 2.162072] thinkpad_acpi: battery 1 registered (start 0, stop 100)
[ 2.162076] battery: new extension: ThinkPad Battery Extension
So the acpi battery message is no longer unknown but it is charging at zero rate. Which is interesting.
acpi -a confirms that I am plugged in and connected. I have to assume there is a software issue I am missing. As it is a brand new machine, and I have reset the battery.
Offline
I have already done a battery hardware reset.
…
Did you try the battery w/ a different software stack - or a voltmeter?
Does the BIOS/UEFI report the charge level?
Online
Just ordered a voltmeter (thanks for the excuse to do so), and I cannot find the charge level in the bios.
Offline
Alright for those still interested here is another info dump of diagnostic information.
[frost@Avalon ~]$ upower -i /org/freedesktop/UPower/devices/battery_BAT0
native-path: BAT0
vendor: Celxpert
model: 5B10W13932
serial: 5829
power supply: yes
updated: Fri Jan 29 05:04:52 2021 (95 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: charging
warning-level: none
energy: 0 Wh
energy-empty: 0 Wh
energy-full: 47.94 Wh
energy-full-design: 51 Wh
energy-rate: 0 W
voltage: 12.078 V
percentage: 0%
capacity: 94%
technology: lithium-polymer
icon-name: 'battery-caution-charging-symbolic'
History (charge):
1611914692 0.000 unknown
History (rate):
1611914692 0.000 unknown
Offline
That data is not sane. One cannot charge at zero Watts. And, a battery really cannot really be at 0 Watt Hours and still be serviceable (at least not a Lithium-polymer battery).
OTOH, the SMBus is clearly talking to it, as you know that it is a Celxpert model 5B10W13932 serial number 5829.
If you do try to measure the voltage with a meter, please be very careful not to short the battery; A Li-po battery can deliver a lot of energy very quickly.
Is that the battery that came with your system, or is it an after market part?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
It came with the system brand new. Only had this machine for 3 months
Offline
Did you try the battery w/ a different software stack?
Ie. some live-distro…
Did it come inititally charged or were you facing this situation immediately?
Online
Albeit a different brand, I have had dead-on-arrival battery units with brand-new Dell laptops in the past, so it's entirely possible your laptop was a dud. It should still be under warranty.
Offline