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
Battery drains too fast on X240 Thinkpad RHEL 6.5 platform
-
dexterous_21
- Posts: 4
- Joined: Sat Jan 10, 2015 5:03 am
- Location: Manila, Philippines
Battery drains too fast on X240 Thinkpad RHEL 6.5 platform
I'm having an issue with the battery of my X240 Thinkpad. It is a newly issued TP and I noticed that the battery won't last more than 2 hours upon full charge. I asked my colleagues who use X240 but on a Windows platform, and they said their battery lasts about 5-6 hours.
Is this a bug on Linux? I am using RHEL 6.5 OS with Windows 7 KVM.
I would appreciate your help and insights on this.
Thanks!
Is this a bug on Linux? I am using RHEL 6.5 OS with Windows 7 KVM.
I would appreciate your help and insights on this.
Thanks!
-
RealBlackStuff
- Admin Emeritus
- Posts: 24727
- Joined: Mon Sep 18, 2006 5:17 am
- Location: Loch Garman, Éire
Re: Battery drains too fast on X240 Thinkpad RHEL 6.5 platfo
Please don't double-post, thank you.
Re: Battery drains too fast on X240 Thinkpad RHEL 6.5 platfo
Welcome to the forum!dexterous_21 wrote:I'm having an issue with the battery of my X240 Thinkpad. It is a newly issued TP and I noticed that the battery won't last more than 2 hours upon full charge. I asked my colleagues who use X240 but on a Windows platform, and they said their battery lasts about 5-6 hours.
Is this a bug on Linux? I am using RHEL 6.5 OS with Windows 7 KVM.
I would appreciate your help and insights on this.
Thanks!
You can expect a significantly worse battery life under almost any *nix flavour when compared to Windows, at least in my experience.
...Knowledge is a deadly friend when no one sets the rules...(King Crimson)
Cheers,
George (your grouchy retired FlexView farmer)
my music if anyone cares: https://www.youtube.com/@TheWaterMemory
PMs requesting personal tech support will be ignored.
Cheers,
George (your grouchy retired FlexView farmer)
my music if anyone cares: https://www.youtube.com/@TheWaterMemory
PMs requesting personal tech support will be ignored.
-
dexterous_21
- Posts: 4
- Joined: Sat Jan 10, 2015 5:03 am
- Location: Manila, Philippines
Re: Battery drains too fast on X240 Thinkpad RHEL 6.5 platfo
Thanks for the reply ajkula66.
My old X230 lasts 5 hours with RHEL 6.5 and Windows 7 KVM on top. As per Lenovo, battery performance of X240 should be better than X230.
Any thoughts?
Thanks again!
My old X230 lasts 5 hours with RHEL 6.5 and Windows 7 KVM on top. As per Lenovo, battery performance of X240 should be better than X230.
Any thoughts?
Thanks again!
Re: Battery drains too fast on X240 Thinkpad RHEL 6.5 platfo
You're very welcome.dexterous_21 wrote:Thanks for the reply ajkula66.
I've never worked for Lenovo so I can't speak for them BUT the only way to test the battery life properly as per Lenovo's guidelines would be to install a Windows OS of some kind and check how the battery behaves there. Behaviour in an "alternate" OS is not something they would care about one iota.My old X230 lasts 5 hours with RHEL 6.5 and Windows 7 KVM on top. As per Lenovo, battery performance of X240 should be better than X230.
Any thoughts?
Is there a way of telling the battery wear (in percents) through some utility in RHEL?
...Knowledge is a deadly friend when no one sets the rules...(King Crimson)
Cheers,
George (your grouchy retired FlexView farmer)
my music if anyone cares: https://www.youtube.com/@TheWaterMemory
PMs requesting personal tech support will be ignored.
Cheers,
George (your grouchy retired FlexView farmer)
my music if anyone cares: https://www.youtube.com/@TheWaterMemory
PMs requesting personal tech support will be ignored.
-
dexterous_21
- Posts: 4
- Joined: Sat Jan 10, 2015 5:03 am
- Location: Manila, Philippines
Re: Battery drains too fast on X240 Thinkpad RHEL 6.5 platfo
My colleagues who use X240 with Windows 7 OS would say their batteries last 5-6 hours and I have verified it.
Battery info from battery icon in RHEL shows excellent status upon full charge, but only lasts 2 hours.
Battery info from battery icon in RHEL shows excellent status upon full charge, but only lasts 2 hours.
-
RealBlackStuff
- Admin Emeritus
- Posts: 24727
- Joined: Mon Sep 18, 2006 5:17 am
- Location: Loch Garman, Éire
Re: Battery drains too fast on X240 Thinkpad RHEL 6.5 platfo
Try your battery in that friend's X240 and see how long yours lasts there...
Lovely day for a Guinness! (The Real Black Stuff)
But I actually prefer Murphy's from Cork!
But I actually prefer Murphy's from Cork!
Re: Battery drains too fast on X240 Thinkpad RHEL 6.5 platfo
Does it show battery condition as in wear level or anything along those lines?dexterous_21 wrote:
Battery info from battery icon in RHEL shows excellent status upon full charge, but only lasts 2 hours.
...Knowledge is a deadly friend when no one sets the rules...(King Crimson)
Cheers,
George (your grouchy retired FlexView farmer)
my music if anyone cares: https://www.youtube.com/@TheWaterMemory
PMs requesting personal tech support will be ignored.
Cheers,
George (your grouchy retired FlexView farmer)
my music if anyone cares: https://www.youtube.com/@TheWaterMemory
PMs requesting personal tech support will be ignored.
Re: Battery drains too fast on X240 Thinkpad RHEL 6.5 platfo
It looks like powertop will tell you how many watts each process is using. Probably need to run 'yum install powertop'.
T60p sxga+ FlexView
R50p uxga FlexView
T42 sxga+ FlexView
R50p uxga FlexView
T42 sxga+ FlexView
Re: Battery drains too fast on X240 Thinkpad RHEL 6.5 platfo
TP batteries usually perform about 20% less in stock Linux compared to Windows in my experience. You can reduce it by installing TLP & deps if older an older CPU or laptopmodetools if the last 2 Gen Intel CPU's. Then install Thinkfan and powertop.
Run Su Powertop --html, view the printout and change the power settings as required.
Then configure Thinkfan and TLP/LMT as required, googling will help as will archwiki which is a good starting place for that but be prepared to know how to edit text files as root. Thinkfan in particular needs plenty of work to optimise fan speeds. As your running whats considered a server OS then optimise what modules you want to run and shut off those that are not needed.
Also my general rule of thumb is if your CPU temp is approaching 50C under office type loads - not surfing flash websites - then you may need to clean the fan assy and re-apply paste on the heatsinks. I wouldnt expect it your case but if you live with a pack of shedding pets that are heavy smokers you never know
Run Su Powertop --html, view the printout and change the power settings as required.
Then configure Thinkfan and TLP/LMT as required, googling will help as will archwiki which is a good starting place for that but be prepared to know how to edit text files as root. Thinkfan in particular needs plenty of work to optimise fan speeds. As your running whats considered a server OS then optimise what modules you want to run and shut off those that are not needed.
Also my general rule of thumb is if your CPU temp is approaching 50C under office type loads - not surfing flash websites - then you may need to clean the fan assy and re-apply paste on the heatsinks. I wouldnt expect it your case but if you live with a pack of shedding pets that are heavy smokers you never know
Home - Win 10 MSi GF63 Gaming Laptop /Arch GNOME 3/X230 Tablet /X61 [Korean] - Debian 10/T60p - Ubuntu 20.10 Helix 2
Work - Win10/Thinkpad X1 Tablet Gen 2
Work - Win10/Thinkpad X1 Tablet Gen 2
-
jaspen-meyer
- Senior Member

- Posts: 837
- Joined: Wed May 19, 2010 11:21 pm
- Location: Pardubice, Czech Republic
- Contact:
Re: Battery drains too fast on X240 Thinkpad RHEL 6.5 platform
If your cpu is always running at it's max frequency that can eat away at your battery.
A 'cpu governor' needs to be running.
Check the files in these directories:
/sys/devices/system/cpu/cpu0
/sys/devices/system/cpu/cpu0/cpufreq
Paths may be different on RHEL.
A 'cpu governor' needs to be running.
Check the files in these directories:
/sys/devices/system/cpu/cpu0
/sys/devices/system/cpu/cpu0/cpufreq
Paths may be different on RHEL.
T420 i7 3612QM seabios; T420 i7 3630QM; T400 Q9100 seabios; T61 P9600; T60 libreboot; x62; x60s libreboot, led; x24 xiphmont led
-
axur-delmeria
- Senior ThinkPadder

- Posts: 4413
- Joined: Mon May 28, 2012 5:49 am
- Location: Metro Manila, Philippines
Re: Battery drains too fast on X240 Thinkpad RHEL 6.5 platform
Maybe RHEL 6.5 isn't a good match for your X240. I mean, the kernel is old (2.6.32), among other things.
And as others have suggested, TLP and other power management tools help a lot.
And as others have suggested, TLP and other power management tools help a lot.
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: Battery drains too fast on X240 Thinkpad RHEL 6.5 platform
You need to install TLP or other power management as someone already mentioned, Linux distributions don't include them by default or at least I haven't ever seen one that does. With TLP your battery life should be as long as in Windows 7.
My T430 with GTX 560 Ti (Now with GTX 670)
T430: i5-3320m, 8 GB, SSD + HDD, 1600x900.
T430: i5-3320m, 8 GB, SSD + HDD, 1600x900.
Re: Battery drains too fast on X240 Thinkpad RHEL 6.5 platform
x240 should last for a bit less than 2 hours when under maximum load and maximum brightness.
2 hours means there is either something stressing the laptop to near its limits all the time, or there is something wrong with the batteries (it should have 2 batteries, one internal, and another removable).
2 hours means there is either something stressing the laptop to near its limits all the time, or there is something wrong with the batteries (it should have 2 batteries, one internal, and another removable).
===
-
axur-delmeria
- Senior ThinkPadder

- Posts: 4413
- Joined: Mon May 28, 2012 5:49 am
- Location: Metro Manila, Philippines
Re: Battery drains too fast on X240 Thinkpad RHEL 6.5 platform
Alternatively, some components of his Linux distro is not new enough to properly handle the power management features of a Haswell-based machine.hhhd1 wrote:x240 should last for a bit less than 2 hours when under maximum load and maximum brightness.
2 hours means there is either something stressing the laptop to near its limits all the time, or there is something wrong with the batteries (it should have 2 batteries, one internal, and another removable).
This can be diagnosed by monitoring CPU usage (using top or any other task manager), and power consumption (powertop).
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: Battery drains too fast on X240 Thinkpad RHEL 6.5 platform
OP definitely need to update his kernel and distro at this point. At this moment it is like installing Windows 2000 on a brand new machine. Most of CPUs and power-saving features are inactive due to hella-old kernel.
P70 / W530 / W700 and 30 more 
Re: Battery drains too fast on X240 Thinkpad RHEL 6.5 platform
IMO, that is unlikely, 2 hours is way to slow, even if power management is not fully enabled.axur-delmeria wrote:Alternatively, some components of his Linux distro is not new enough to properly handle the power management features of a Haswell-based machine.hhhd1 wrote:x240 should last for a bit less than 2 hours when under maximum load and maximum brightness.
2 hours means there is either something stressing the laptop to near its limits all the time, or there is something wrong with the batteries (it should have 2 batteries, one internal, and another removable).
This can be diagnosed by monitoring CPU usage (using top or any other task manager), and power consumption (powertop).
I second the use of software like powertop, because it should display rate of discharge of the battery.
with a battery capacity of 47 Wh, a power usage of 23.5w, should give you 2 hours of runtime.
===
-
evening_hunger
- Junior Member

- Posts: 306
- Joined: Thu Nov 26, 2015 2:55 pm
- Location: Normandy, France
Re: Battery drains too fast on X240 Thinkpad RHEL 6.5 platform
Linux distributions have abundance of power-control and power-saving software, especially for thinkpads.
Powertop, exposes more than 40 tunables (to a user with admin rights that is). Show me a M$ software that does it. Now, the problem is that with great power, comes great responsibility. In Windows you have zero power (I mean freedom), but you have nearly zero responsbility, as everything has been done for you. And, I admit, has been done wery well! That goes to show the world is not an adventure built upon binary choices.
Okay, enough philosophy:)
Now to get more down to it, you can try (as first step) obviously:
$acpi -V
which will yield as standard something like this:
That's a prequsite if we're gonna have any serious conversation about battery usage in linux. Then, using tp_smapi (a module available e.g. in Debian) one can get even more knowledge. For example, realtime data of power drain per battery:
and so on. It is also posible to set custom thresholds for battery charging to prolong its life (e.g. avoid charging the battery to 100%, stop at say 90% and only go up to 100% when preparing for a long flight...). tp_smapi also exposes an utter mountain of data concerning the battery (the make, date of first use, software version... )
All in all, there is a bunch of toys and the way is paved.
Powertop, exposes more than 40 tunables (to a user with admin rights that is). Show me a M$ software that does it. Now, the problem is that with great power, comes great responsibility. In Windows you have zero power (I mean freedom), but you have nearly zero responsbility, as everything has been done for you. And, I admit, has been done wery well! That goes to show the world is not an adventure built upon binary choices.
Okay, enough philosophy:)
Now to get more down to it, you can try (as first step) obviously:
$acpi -V
which will yield as standard something like this:
Code: Select all
Battery 0: Unknown, 83%
Battery 0: design capacity 7115 mAh, last full capacity 3528 mAh = 49%
Adapter 0: on-line
Thermal 0: ok, 47.0 degrees C
Thermal 0: trip point 0 switches to mode critical at temperature 99.0 degrees C
Cooling 0: x86_pkg_temp no state information available
Cooling 1: LCD 15 of 15
Cooling 2: intel_powerclamp no state information available
Cooling 3: Processor 0 of 10
Cooling 4: Processor 0 of 10
Cooling 5: Processor 0 of 10
Cooling 6: Processor 0 of 10
Code: Select all
# tail -f /sys/devices/platform/smapi/BAT0/power_now
-10773 mW -906 mA
-10773 mW -906 mA
-10773 mW -906 mA
-10985 mW -922 mA
-10985 mW -922 mA
-10985 mW -922 mA
All in all, there is a bunch of toys and the way is paved.
T14amdR7-4750U/32GB/500gb.ssd/debian_testing (main driver)
X320/i7-2620M/8GB/256gb.ssd/FHD13.3''IPS/debian_testing (ex-main driver)
T30Pentium-M 4 1.8Ghz 512MB RAM - under restoration
X230/i5/8GB/500gb.hdd+256gb.m2ssd/IPS/debian_stable+win7
755CE, 486DX, approx 28MB RAM (Win95 JP)
X320/i7-2620M/8GB/256gb.ssd/FHD13.3''IPS/debian_testing (ex-main driver)
T30Pentium-M 4 1.8Ghz 512MB RAM - under restoration
X230/i5/8GB/500gb.hdd+256gb.m2ssd/IPS/debian_stable+win7
755CE, 486DX, approx 28MB RAM (Win95 JP)
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Why is my P1 Gen 7 so much better on battery? Cool, quiet, fast — but not on AC.
by Frippe » Tue Nov 18, 2025 5:21 am » in ThinkPad P1/P14/P15/P16/P40/P50/P70 and later Series - 3 Replies
- 9688 Views
-
Last post by RealBlackStuff
Wed Nov 19, 2025 12:30 am
-
-
-
[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
- 6339 Views
-
Last post by Redaa
Sun Jan 25, 2026 6:27 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
- 14969 Views
-
Last post by johnny1093
Sat Nov 01, 2025 8:46 pm
-
-
-
x220 tablet battery replacement
by Timpel_800 » Tue Dec 30, 2025 8:29 am » in ThinkPad X200/X201/X220 and X300/X301 Series - 2 Replies
- 3918 Views
-
Last post by Timpel_800
Fri Jan 02, 2026 6:14 am
-
Who is online
Users browsing this forum: No registered users and 14 guests




