Certain Thinkpad models (including the X61) have a BIOS quirk that limits the CPU clock speed to 1.2GHz when running the laptop on a 65w AC adapter without a battery installed.
In Linux, this shows up as /sys/devices/system/cpu/cpuN/cpufreq/bios_limit. Note that the N is the CPU core # minus 1, so for a dual-core processor, there would be two, like this:
/sys/devices/system/cpu/cpu0/cpufreq/bios_limit
/sys/devices/system/cpu/cpu1/cpufreq/bios_limit
We do know the reason for this-- it's a protection mechanism in order to prevent drawing more current than the 65w adapter can supply.
However, I encountered a bug, or perhaps a loophole.
If I start the laptop with both charger and battery plugged in, put the system on standby, then remove the battery, the
bios_limit file does not appear (or is not generated) when I resume from suspend.
This allows me to run my X61 at full speed on AC even without the battery. I ran a few 7z benchmarks to confirm its performance.
on AC, without battery at boot --> 1877 MIPs
on AC, with battery installed --> 3522 MIPs
on AC, battery removed during suspend --> 3522 MIPs
I'm running Debian 8 64-bit on an X61 with a Core 2 Duo T7500 processor and 2GB RAM. I have TLP installed, and the processor is undervolted.
I don't know if this is reproducible in other Thinkpads and other Linux distributions. Just reporting my discovery and findings.
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
X61 CPU clock limiter on 65w charger w/o batt, and Linux loophole?
-
- Senior ThinkPadder
- Posts: 3831
- Joined: Mon May 28, 2012 5:49 am
- Location: Metro Manila, Philippines
X61 CPU clock limiter on 65w charger w/o batt, and Linux loophole?
Planned Purchase: T480s i5-8350 FHD Touch
Impulse Buy: Thinkpad not named for safety reasons
RIP: X220 4291-C91 X61 7676-A24 760XD-U9E
Impulse Buy: Thinkpad not named for safety reasons
RIP: X220 4291-C91 X61 7676-A24 760XD-U9E
Re: X61 CPU clock limiter on 65w charger w/o batt, and Linux loophole?
Nice find!
Since we are talking about a BIOS feature, it's quite possible that the same quirk can be reproduced on Windows. I bet some would like to test it out. Not that I advocate anyone run their laptop without a battery installed, but I know that some folks do like to do this from time to time, so your discovery will be interesting for them.
Since we are talking about a BIOS feature, it's quite possible that the same quirk can be reproduced on Windows. I bet some would like to test it out. Not that I advocate anyone run their laptop without a battery installed, but I know that some folks do like to do this from time to time, so your discovery will be interesting for them.
Thinkpad 25 (20K7), T490 (20N3), Yoga 14 (20FY), T430s (IPS FHD + Classic Keyboard), X220 4291-4BG
X61 7673-V2V, T60 2007-QPG, T42 2373-F7G, X32 (IPS Screen), A31p w/ Ultrabay Numpad
X61 7673-V2V, T60 2007-QPG, T42 2373-F7G, X32 (IPS Screen), A31p w/ Ultrabay Numpad
Re: X61 CPU clock limiter on 65w charger w/o batt, and Linux loophole?
Interesting .
But obviously there isn't any advantage in removing the battery. Threshold charging with the X61 and all Thinkpads is a clear advantage.
But obviously there isn't any advantage in removing the battery. Threshold charging with the X61 and all Thinkpads is a clear advantage.
Active --- Love the X series
X301 W 7/Mint | X201 540M L Mint | X220 2520 W7/Mint
Nostalgia
X61 T7500 / T41 T42 T43 / A31
Rogue daily driver - Samsung RV511 15.6 " Screen - W 7
X301 W 7/Mint | X201 540M L Mint | X220 2520 W7/Mint
Nostalgia
X61 T7500 / T41 T42 T43 / A31
Rogue daily driver - Samsung RV511 15.6 " Screen - W 7
-
- Senior ThinkPadder
- Posts: 3831
- Joined: Mon May 28, 2012 5:49 am
- Location: Metro Manila, Philippines
Re: X61 CPU clock limiter on 65w charger w/o batt, and Linux loophole?
The primary advantage is not letting the battery heat up due to its proximity to the CPU heatsink.
The real danger IMO, is whether it will cause sudden shutdowns when the system is fully stressed (not just the CPU, but also the USB, graphics, and other subsystems), and also shorten the lifespan (and eventually kill) the 65w AC adapter.
This might be safer to do on the X61s and Tablet, as they have LV processors and are less likely to overload the 65w AC adapter.
The real danger IMO, is whether it will cause sudden shutdowns when the system is fully stressed (not just the CPU, but also the USB, graphics, and other subsystems), and also shorten the lifespan (and eventually kill) the 65w AC adapter.
This might be safer to do on the X61s and Tablet, as they have LV processors and are less likely to overload the 65w AC adapter.
Planned Purchase: T480s i5-8350 FHD Touch
Impulse Buy: Thinkpad not named for safety reasons
RIP: X220 4291-C91 X61 7676-A24 760XD-U9E
Impulse Buy: Thinkpad not named for safety reasons
RIP: X220 4291-C91 X61 7676-A24 760XD-U9E
-
- Similar Topics
- Replies
- Views
- Last post
-
-
FS - Lenovo 65w 20V 3.25A 65W Laptop Charger Adapter with Yellow Rectangle Tip, ADLX65YLC3A
by ZaZ » Tue Jan 09, 2024 2:22 pm » in Marketplace - Forum Members only - 0 Replies
- 1167 Views
-
Last post by ZaZ
Tue Jan 09, 2024 2:22 pm
-
-
-
Is it okay to use an undersize charger?
by euless » Thu Oct 26, 2023 11:20 am » in ThinkPad T430-T490 / T530-T590 Series - 8 Replies
- 3704 Views
-
Last post by keithsketchley
Mon Feb 26, 2024 10:18 am
-
-
- 4 Replies
- 5261 Views
-
Last post by marttt
Mon Jan 15, 2024 2:15 am
-
-
updating T480 bios without Windows (I use Linux)
by redglow » Fri Nov 03, 2023 3:15 am » in ThinkPad T430-T490 / T530-T590 Series - 25 Replies
- 30385 Views
-
Last post by redglow
Tue Nov 14, 2023 1:00 pm
-
Who is online
Users browsing this forum: No registered users and 19 guests