Opened 15 months ago

Last modified 15 months ago

#18575 new bug

Thinkpad T480s battery not recognized

Reported by: Nexus-6 Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Drivers/Power Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: x86-64

Description (last modified by Nexus-6)

Sometimes Haiku fails to detect the built-in battery and apparently the whole power management system does not work. When I press the power button, the shutdown is initiatiated but the alert "you can now turn your computer off" appears and the laptop must be turned off manually by keeping the power button pressed. Syslog attached.

Attachments (2)

syslog (519 bytes ) - added by Nexus-6 15 months ago.
syslog.2 (424.7 KB ) - added by Nexus-6 15 months ago.

Download all attachments as: .zip

Change History (12)

by Nexus-6, 15 months ago

Attachment: syslog added

comment:1 by waddlesplash, 15 months ago

The syslog is practically empty.

Do you have ACPI manually disabled?

comment:2 by Nexus-6, 15 months ago

not at all, I'm under the same impression that ACPI is disabled altogether except the power button

PS: there is a type in the title, my model is T480s not T490, maybe you can change this for future reference?

Version 0, edited 15 months ago by Nexus-6 (next)

comment:3 by waddlesplash, 15 months ago

Summary: Thinkpad T490 battery not recognizedThinkpad T480s battery not recognized

comment:4 by Nexus-6, 15 months ago

I've checked in the BIOS and everything is enabled as usual. Even after a few reboots nothing changes. I will check in a few minutes what happens if I plug the power cord

comment:5 by Nexus-6, 15 months ago

Plugged the power cord with the laptop turned off, it turns automatically as I configured it to do so and the battery is now detected again. New syslog attached

by Nexus-6, 15 months ago

Attachment: syslog.2 added

comment:6 by Nexus-6, 15 months ago

Description: modified (diff)

comment:7 by tqh, 15 months ago

Thinkpads needs a lot of hw specific code for them to work properly: https://www.thinkwiki.org/wiki/Embedded_Controller_Firmware

Someone with a thinkpad probably should take a look...

comment:8 by pulkomandy, 15 months ago

Do you have more specific info about what would be needed specifically for Thinkpads?

I clicked on the "thinkpad-acpi" link, expecting it woudl give me some info about this, and landed on https://www.thinkwiki.org/wiki/Thinkpad-acpi which says that, since kernel 2.6.26, the standard ACPI driver for Linux works on Thinkpads.

I followed some other links and found similar deprecation notices for all the custom tools. The page you linked also refers mostly to older models (T41, T60, ...).

So, it looks like older thinkpad models used to require a lot of custom software, but newer models have become more standard? As would be the case for other manufacturers as well, I think?

comment:9 by Nexus-6, 15 months ago

Newest models actually require specific code to enable selected components like special keys (volume, brightness, display switch) and ambient light sensor. My experience so far is that almost everything works out of the box because is managed by the firmware directly (e.g. keyboard backlight). Except these temporary failures, it otherwise works very well. I can just guess that the issue is related to plugging and unplugging the power chord which sets the laptop in a state that confuses Haiku? I can't easily check if it is a hardware problem because the laptop is exclusively dedicated to Haiku

comment:10 by tqh, 15 months ago

No I do not but if you see my link they have a very strong message:

"ATTENTION! As a rule, if you are not using the latest available firmware for your ThinkPad, you are likely to be the unlucky chap that will find out some new code hits a firmware bug that was fixed by IBM or Lenovo. Do yourself a favour and always keep your ThinkPad's firmware up-to-date."

It also has a huge number of quirks and special cases + its own extra driver in Linux.

Note: See TracTickets for help on using tickets.