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
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
X210 fan and battery communications
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?
EDIT: fixed in the EC firmware, see the EC hacking thread.
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.
EDIT: fixed in the EC firmware, see the EC hacking thread.
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.
Last edited by L29Ah on Mon Sep 16, 2019 3:13 pm, edited 1 time in total.
51nb X210 with community EC mod, me_cleaner and recelled 99W*h battery; X230 with coreboot, me_cleaner and nitrocaster's FHD mod as a backup; R500 for guests; T60 just for the looks.
-
dmdsoftware
- Junior Member

- Posts: 433
- Joined: Mon Apr 11, 2005 2:24 pm
- Location: Mississauga, Ontario, Canada
Re: X210 fan and battery communications
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
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
Re: X210 fan and battery communications
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/29375e46d82cdmdsoftware wrote: ↑Mon Feb 04, 2019 5:08 pmWhich 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.
51nb X210 with community EC mod, me_cleaner and recelled 99W*h battery; X230 with coreboot, me_cleaner and nitrocaster's FHD mod as a backup; R500 for guests; T60 just for the looks.
Re: X210 fan and battery communications
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 community EC mod, me_cleaner and recelled 99W*h battery; X230 with coreboot, me_cleaner and nitrocaster's FHD mod as a backup; R500 for guests; T60 just for the looks.
-
vladisslav2011
- Posts: 30
- Joined: Fri Oct 12, 2018 6:33 am
- Location: Velikiye Luki, Pskov, Russia
Re: X210 fan and battery communications
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...
It is expected due to the way, it is implemented. Take a look here viewtopic.php?f=80&t=128156&p=833443#p833443
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%.
Re: X210 fan and battery communications
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…
-
vladisslav2011
- Posts: 30
- Joined: Fri Oct 12, 2018 6:33 am
- Location: Velikiye Luki, Pskov, Russia
Re: X210 fan and battery communications
Battery "undercharging" issue is partially resolved.
It reports correct charge percentage now, but still undercharges for 1-2% due to lower voltage (12.5V instead of 12.6V). See "EC datasheet..." topic.
I don't think, that undercharge bug may be fully fixed in software due to the way, charging voltage switching is implemented in.
As voltage switching is done via GPIO97, it looks like there is star-like circuit of 3 resistors, connected to ground, charger out, EC GPIO97 and star center is connected to charger feedback pin, so driving GPIO97 high sources some current into feedback pin decreasing charger voltage and driving GPIO97 low sinks some current from feedback pin increasing charger voltage.
Maybe resistors are just not as precise as required...
It reports correct charge percentage now, but still undercharges for 1-2% due to lower voltage (12.5V instead of 12.6V). See "EC datasheet..." topic.
I don't think, that undercharge bug may be fully fixed in software due to the way, charging voltage switching is implemented in.
As voltage switching is done via GPIO97, it looks like there is star-like circuit of 3 resistors, connected to ground, charger out, EC GPIO97 and star center is connected to charger feedback pin, so driving GPIO97 high sources some current into feedback pin decreasing charger voltage and driving GPIO97 low sinks some current from feedback pin increasing charger voltage.
Maybe resistors are just not as precise as required...
Re: X210 fan and battery communications
I've actually meant i could limit the Lenovo's Thinkpad charge controller by a lower voltage when i don't need the max possible capacity so the battery would degrade much slower (LiIon cells lose capacity faster at >4V, especially at elevated temperatures observable in laptop batteries).vladisslav2011 wrote: ↑Sat May 11, 2019 2:00 pmHmmm. 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%.
51nb X210 with community EC mod, me_cleaner and recelled 99W*h battery; X230 with coreboot, me_cleaner and nitrocaster's FHD mod as a backup; R500 for guests; T60 just for the looks.
Re: X210 fan and battery communications
Just out of curiosity, can you find another hard drive for it, load Windows 7 or 10 on it and see if battery charging is OK in Windows.
I have an X230 spare machine (as per an above post here) with Windows 10 Insider (future Windows). It is on its second battery in 6 years and the current battery (not at all new) goes for about 3 hours still
I have an X230 spare machine (as per an above post here) with Windows 10 Insider (future Windows). It is on its second battery in 6 years and the current battery (not at all new) goes for about 3 hours still
-
- Similar Topics
- Replies
- Views
- Last post
-
-
[WTB] Thinkpad x61 battery (battery life doesn't matter as long as it works)
by Redaa » Sun Jan 25, 2026 6:08 am » in Marketplace - Forum Members only - 2 Replies
- 6407 Views
-
Last post by Redaa
Sun Jan 25, 2026 6:27 am
-
-
-
T580 fan starts running moment its turned on
by rotterdam » Mon Nov 03, 2025 4:39 pm » in ThinkPad T430-T495 / T530-T590 Series - 5 Replies
- 12039 Views
-
Last post by rotterdam
Sat Nov 08, 2025 2:09 am
-
-
-
Battery use and charging etiquette for Classic ThinkPads?
by johnny1093 » Wed Oct 29, 2025 1:50 pm » in Thinkpad - General HARDWARE/SOFTWARE questions - 2 Replies
- 15049 Views
-
Last post by johnny1093
Sat Nov 01, 2025 8:46 pm
-
-
-
IBM T60 and Lenovo T60, dimmed screen when on battery?
by TP_ » Fri Feb 20, 2026 8:32 am » in ThinkPad T60/T61 Series - 3 Replies
- 3773 Views
-
Last post by TP_
Sun Feb 22, 2026 1:05 am
-
Who is online
Users browsing this forum: No registered users and 31 guests




