You are not logged in.
Hi all,
Forgive me if there's a relevant thread or wikipage that directly speaks to this issue - I've done a lot of searching over several days and haven't been able to troubleshoot this issue myself.
After a recent full system upgrade, my Thinkpad stopped being able to detect the battery, and I'm not sure why. Sadly, in the process of trying to fix a broken Pacman post-update (GLIBC error) I ended up deleting my cache, so I'm unable to downgrade from it (though I'm open to building the kernel if needed.)
Output of various relevant commands that once successfully gave some info about battery status:
cat /sys/class/power_supply/BAT0/status
cat: /sys/class/power_supply/BAT0/status: No such file or directory
upower -i (upower -e | grep BAT) | grep --color=never -E "state|to\ full|to\ empty|percentage"
$ [null response]
acpi -a
Adapter 0: on-line
upower -i /org/freedesktop/UPower/devices/battery_BAT1
native-path: (null)
power supply: no
updated: Wed 31 Dec 1969 04:00:00 PM PST (1539410313 seconds ago)
has history: no
has statistics: no
unknown
warning-level: unknown
battery-level: unknown
icon-name: '(null)'
upower -d
Device: /org/freedesktop/UPower/devices/line_power_AC
native-path: AC
power supply: yes
updated: Fri 12 Oct 2018 10:48:59 PM PDT (607 seconds ago)
has history: no
has statistics: no
line-power
warning-level: none
online: yes
icon-name: 'ac-adapter-symbolic'
Device: /org/freedesktop/UPower/devices/DisplayDevice
power supply: no
updated: Fri 12 Oct 2018 10:48:59 PM PDT (607 seconds ago)
has history: no
has statistics: no
unknown
warning-level: none
icon-name: 'battery-missing-symbolic'
Daemon:
daemon-version: 0.99.8
on-battery: no
lid-is-closed: no
lid-is-present: yes
critical-action: PowerOff
upower -e
/org/freedesktop/UPower/devices/line_power_AC
/org/freedesktop/UPower/devices/DisplayDevice
etc, etc
I've added acpi_osi=Linux to grub with no success.
At first I thought this was just the result of a fully dead battery, so I replaced the battery. It's still undetected, though clearly functional - I can disconnect from AC and the laptop will run until the battery died.
I have yet to test this with another operating system (ie via a LiveUSB) and as stated have not been able to troubleshoot this particular situation on my own, as I have been able to do with previous issues via the wiki, this forum, several dozen tabs of search engine results, and much trial and error.
Please let me know if anyone has suggestions on how I can potentially diagnose and rectify this issue, and forgive me if I've left out any relevant information in this post (I'm very, very tired today) or have missed something in my trawling of the wiki and forums.
All my best,
keaghoul
Offline
Tried the lts kernel?
Offline
Tried the lts kernel?
Yep!
uname -r
4.14.74-1-lts
Error persists with latest kernel also:
$ uname -r; acpi -a
4.18.12-arch1-1-ARCH
Adapter 0: on-line
Last edited by keaghoul (2018-10-13 09:17:27)
Offline
"systool -vm thinkpad_acpi"?
Anything suspicious in dmesg? (Battery, thinkpad, acpi related)
Offline
I ended up deleting my cache, so I'm unable to downgrade from it
You can still downgrade, if needed, from here.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
keaghoul wrote:I ended up deleting my cache, so I'm unable to downgrade from it
You can still downgrade, if needed, from here.
Good to know, may try that out later if needed.
"systool -vm thinkpad_acpi"?
Anything suspicious in dmesg? (Battery, thinkpad, acpi related)
With lts (but not arch) kernel, I get an error in loading some kernel modules, though I'm not sure which modules failed. I don't get this error with LTS, but the battery issue persists regardless of kernel.
Also, searching specifically for battery, I get a message regarding thinkpad_acpi, but it doesn't tell me anything I didn't already know:
~ ❯❯❯ systemctl status systemd-modules-load.service
● systemd-modules-load.service - Load Kernel Modules
Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2018-10-13 18:42:55 PDT; 56s ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Process: 464 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Main PID: 464 (code=exited, status=1/FAILURE)
Oct 13 18:42:44 archon systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Oct 13 18:42:44 archon systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Oct 13 18:42:44 archon systemd[1]: Failed to start Load Kernel Modules.
Oct 13 18:42:54 archon systemd[1]: Starting Load Kernel Modules...
Oct 13 18:42:55 archon systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Oct 13 18:42:55 archon systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Oct 13 18:42:55 archon systemd[1]: Failed to start Load Kernel Modules.
~ ❯❯❯ dmesg | grep battery
[ 14.553946] ACPI: Battery Slot [BAT0] (battery absent)
re: systool -
systool -vm thinkpad_acpi
Module = "thinkpad_acpi"
Attributes:
coresize = "102400"
initsize = "0"
initstate = "live"
refcnt = "1"
srcversion = "771CA64B3B3AE25428ABBDD"
taint = ""
uevent = <store method only>
version = "0.25"
Parameters:
brightness_enable = "2"
brightness_mode = "4"
enable = "Y"
experimental = "0"
fan_control = "Y"
force_load = "N"
id = "ThinkPadEC"
index = "-536870912"
software_mute = "Y"
volume_capabilities = "0"
volume_control = "N"
volume_mode = "3"
Sections:
.bss = "0xffffffffc0662680"
.data = "0xffffffffc0661020"
.gnu.linkonce.this_module= "0xffffffffc0662340"
.init.data = "0xffffffffc05f9000"
.init.rodata = "0xffffffffc05f8000"
.init.text = "0xffffffffc05f5000"
.note.gnu.build-id = "0xffffffffc0658000"
.orc_unwind = "0xffffffffc065ddf3"
.orc_unwind_ip = "0xffffffffc065c9b7"
.rodata = "0xffffffffc065bae0"
.rodata.str1.1 = "0xffffffffc065adaf"
.rodata.str1.8 = "0xffffffffc0658048"
.smp_locks = "0xffffffffc065bad8"
.strtab = "0xffffffffc05fe548"
.symtab = "0xffffffffc05fa000"
.text = "0xffffffffc0650000"
.text.unlikely = "0xffffffffc06576f2"
__bug_table = "0xffffffffc0662260"
__jump_table = "0xffffffffc0661000"
__kcrctab_gpl = "0xffffffffc0658040"
__ksymtab_gpl = "0xffffffffc0658030"
__ksymtab_strings = "0xffffffffc065c9a8"
__mcount_loc = "0xffffffffc065fc50"
__param = "0xffffffffc065c610"
__verbose = "0xffffffffc0662308"
I'm just passing through at the moment so I haven't read the manpage for systool yet (I will later), but I'm assuming that it would print relevant info about the battery if it detected one - or potentially show relevant parameters. Let me know if anything here is helpful in diagnosis.
It also appears that the new battery is having an issue at the moment - with the LTS kernel, the computer dies immediately, so the battery is no longer holding a charge though it's brand new.
I am having some electrical issues (overloaded outlet) that could very well be destroying the batteries, but I'll have to test this hypothesis later. The initial battery stopped holding a charge but the replacement held a charge, even if it wasn't picked up by my system. I'm thinking this is likely the root of the problem and will do some experimenting shortly and report back.
Offline