Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message

X210 fan and battery communications

Old(er) Thinkpads with New(er) Intestines: X62 / T50 / T70 / etc.
Post Reply
Message
Author
L29Ah
Freshman Member
Posts: 73
Joined: Fri Sep 06, 2013 2:25 pm
Location: Moscow, Russia

X210 fan and battery communications

#1 Post by L29Ah » Mon Feb 04, 2019 12:40 pm

Hi there, i just got the third batch™ X210 kit, and it seems like it cannot report battery current in Linux (0 via ACPI where X230 reported correct values) and neither report nor control the fan speed. The former makes me unable to optimize my battery life, and the latter results in the CPU frequency throttling kicking in earlier than the fan decides to run at its full speed. I've tried the x62 tools, but they don't work for X210. Could anyone do anything about these shortcomings?

Also i really miss the original Thinkpad EC feature that allowed me to undercharge my battery; now i feel like i'll have to replace it every year due to rapid capacity loss caused by the cells being constantly heated while being fully charged, like on the other [censored] laptops.
51nb X210 with vladisslav2011's EC mod; X230 with coreboot and nitrocaster's FHD mod as a backup; R500 for guests; T60 just for the looks.

dmdsoftware
Junior Member
Junior Member
Posts: 424
Joined: Mon Apr 11, 2005 2:24 pm
Location: Mississauga, Ontario, Canada

Re: X210 fan and battery communications

#2 Post by dmdsoftware » Mon Feb 04, 2019 5:08 pm

Which kernel and distro are you using? I'm still using debian jessie with kernel 4.8 (need to upgrade badly). I'm getting battery read outs just fine. When I installed kernel 4.9, I was getting ACPI read error on bootup.
X62 & X62s & X62T SXGA+ i7 5600u 8-16GB
Helix i7
Carbon X1 i5 UHD
W520 4x-i7
Sony Vaio P799 (8" LED 1600x768)
"Think" Ultrabook i7
LegoThinkpad 11"

in storage:
X131e AMD
X60/X60s, X61/X61s/X61T, T61, T420, X30

past:
X20-X24, 390X

L29Ah
Freshman Member
Posts: 73
Joined: Fri Sep 06, 2013 2:25 pm
Location: Moscow, Russia

Re: X210 fan and battery communications

#3 Post by L29Ah » Mon Feb 04, 2019 10:05 pm

dmdsoftware wrote:
Mon Feb 04, 2019 5:08 pm
Which kernel and distro are you using? I'm still using debian jessie with kernel 4.8 (need to upgrade badly). I'm getting battery read outs just fine. When I installed kernel 4.9, I was getting ACPI read error on bootup.
Gentoo, 4.20.6. I get the other battery data just fine, but no current (/sys/class/power_supply/BAT0/current_now is always zero). I don't see any errors in dmesg, but here it is: https://bpaste.net/show/29375e46d82c
51nb X210 with vladisslav2011's EC mod; X230 with coreboot and nitrocaster's FHD mod as a backup; R500 for guests; T60 just for the looks.

L29Ah
Freshman Member
Posts: 73
Joined: Fri Sep 06, 2013 2:25 pm
Location: Moscow, Russia

Re: X210 fan and battery communications

#4 Post by L29Ah » Wed Feb 13, 2019 5:45 pm

Not really an answer to my questions, but https://github.com/erpalma/throttled/ can adjust CPU temperature ceiling and display CPU power consumption (among other immensely nice things) that can be used to tune the battery performance of X210 and other newer Thinkpads.
51nb X210 with vladisslav2011's EC mod; X230 with coreboot and nitrocaster's FHD mod as a backup; R500 for guests; T60 just for the looks.

vladisslav2011
Posts: 17
Joined: Fri Oct 12, 2018 6:33 am
Location: Velikiye Luki, Pskov, Russia

Re: X210 fan and battery communications

#5 Post by vladisslav2011 » Sat May 11, 2019 2:00 pm

L29Ah wrote:
Mon Feb 04, 2019 12:40 pm
it cannot report battery current in Linux
Yes. It looks, like average current readout is blocked in EC firmware for some reason. One may try to estimate current by dividing capacity change by time interval and average voltage, but in my case it gives inaccurate results. I have one non-genuine battery, that has incorrectly configured BMC/fuel gauge. It constantly tries to recalibrate and shows both negative and positive discharge rate spikes in 10%-0% charge range...
L29Ah wrote:
Mon Feb 04, 2019 12:40 pm
the CPU frequency throttling kicking in earlier than the fan decides to run at its full speed.
It is expected due to the way, it is implemented. Take a look here viewtopic.php?f=80&t=128156&p=833443#p833443
L29Ah wrote:
Mon Feb 04, 2019 12:40 pm
Also i really miss the original Thinkpad EC feature that allowed me to undercharge my battery;
Hmmm. In my case it constantly udercharges the battery. It reports battery as charged when it reaches 95% capacity and continues to slowly charge it in background. But as maximum charger voltage for 3s battery is fixed at ~12.55v, it does never charge it to 100%.

mjg59
Posts: 16
Joined: Sat Aug 21, 2004 7:53 am

Re: X210 fan and battery communications

#6 Post by mjg59 » Sat May 11, 2019 5:16 pm

https://forum.51nb.com/forum.php?mod=re ... d=32315397 suggests that they're working on the charging issue, but there's been no release yet. Nuvoton are, it turns out, unenthusiastic about giving out docs for these parts even to companies that have NDAs…

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “51nb and other modded Thinkpads”

Who is online

Users browsing this forum: No registered users and 3 guests