I wiped win7 on my X220 and installed Ubuntu 12.04. I've been unimpressed with the battery life, though. My usage pattern is very loose and really not dependent on which OS I use but after years of using Ubuntu and Win7 on my desktop I'd like to give running Linux as my sole OS a try. Here's the kicker, though... I'd actually like some comparable battery life 🙁
There's a few issues I bumped into right away.
The sound wasn't working on Chromium but worked quite well for Firefox. I've fixed that.
The Wifi reception is quite poor. I'm sitting just a few feet from the router and I'm getting 3/4 bars while under win7 I was getting max with no fluctuation. This isn't that big of a problem as I'm going to buy this Intel Centrino card to replace the 1x1 Realtek garbage. I'm guessing this has to do with the poor kernel support for Realtek's WiFi. Alternatively, I can download the Realtek Linux drivers but apparently their drivers are quite characteristically crap:
After receiving the Intel Centrino card I likely won't have any of these issues *crosses fingers* Either way I really need the card as the 2.4ghz signals are very crowded thus moving up to 5ghz should improve things significantly.
Now that I've documented some issues that I've cleared up or will in the near future, we get to the biggest one: battery life. Here's what I've done to improve this thus far
- Installed powertop. Toggling through the recommended settings where all but the WiFi changed to "good", the laptop is sipping a modest 8-10W with a browser open and interrupts in the manageable hundreds. Unfortunately, the interrupts scale quite quickly upwards with any sort of usage of the browser and the wattage too jumps up to ~+20W when loading some lengthy web pages.
- I figured that I should rule out any sort of CPU jumps and installed Jupiter. I enabled the power saving feature and this did decrease power consumption at idle to around 7-9W with the browser open. Decent gain, but unfortunately the power consumption still fluctuates just a bit too drastically, leaping over 20W when tasked with anything.
Now, I really don't think this has to do with the CPU speeds or fan speeds. Fan speeds are modest at 2k RPM and temps are low. Powertop reports idle clocks for an overwhelming majority of the time with only very short sporadic spurts into max speeds. It doesn't seem to be the CPU.
The brightness is set at 40% which is more than enough on the 300nits IPS panel.
I'm getting a wide variety of readings on the battery life due to the high jumps so it's difficult to determine just how much I'd get if I were to use it normally but I'm certain it's considerably less than the 12 hours I got on win7 (9-cell battery). Lenovo has some special home-brewed software that extends win7 battery life considerably but they don't offer the same software for Linux.
So what do? Do you think it might be the WiFi that's causing some of this? That is, maybe whenever it's tasked heavily it gobbles up power? I'm hoping that's the case but I'm sort of stuck here with regards to the next step(s) I should take.
I've read guides and they seem to be roughly in the same area as far as idle power consumption as I am but it doesn't appear to be the idle power consumption that's the issue.
Any help will be greatly appreciated 🙂
There's a few issues I bumped into right away.
The sound wasn't working on Chromium but worked quite well for Firefox. I've fixed that.
The Wifi reception is quite poor. I'm sitting just a few feet from the router and I'm getting 3/4 bars while under win7 I was getting max with no fluctuation. This isn't that big of a problem as I'm going to buy this Intel Centrino card to replace the 1x1 Realtek garbage. I'm guessing this has to do with the poor kernel support for Realtek's WiFi. Alternatively, I can download the Realtek Linux drivers but apparently their drivers are quite characteristically crap:
The Realtek Linux driver for this chip can be downloaded from the Realtek website
More information about using the Realtek native driver in Ubuntu: [1]
Please note: use of this driver on Lenovo systems results in unpredictable fatal crashes on some systems! It's is *not* advised to choose this driver.
One method that appears to drastically reduce the crashes and connection drops is to comment out "-DENABLE_LPS" from the Makefiles while building the Realtek Linux driver. This also reduces the "noise" in the syslog kernel messages generated by LPS. However, it may reduce the battery life since LPS is an acronym for Low Power State.
After receiving the Intel Centrino card I likely won't have any of these issues *crosses fingers* Either way I really need the card as the 2.4ghz signals are very crowded thus moving up to 5ghz should improve things significantly.
Now that I've documented some issues that I've cleared up or will in the near future, we get to the biggest one: battery life. Here's what I've done to improve this thus far
- Installed powertop. Toggling through the recommended settings where all but the WiFi changed to "good", the laptop is sipping a modest 8-10W with a browser open and interrupts in the manageable hundreds. Unfortunately, the interrupts scale quite quickly upwards with any sort of usage of the browser and the wattage too jumps up to ~+20W when loading some lengthy web pages.
- I figured that I should rule out any sort of CPU jumps and installed Jupiter. I enabled the power saving feature and this did decrease power consumption at idle to around 7-9W with the browser open. Decent gain, but unfortunately the power consumption still fluctuates just a bit too drastically, leaping over 20W when tasked with anything.
Now, I really don't think this has to do with the CPU speeds or fan speeds. Fan speeds are modest at 2k RPM and temps are low. Powertop reports idle clocks for an overwhelming majority of the time with only very short sporadic spurts into max speeds. It doesn't seem to be the CPU.
The brightness is set at 40% which is more than enough on the 300nits IPS panel.
I'm getting a wide variety of readings on the battery life due to the high jumps so it's difficult to determine just how much I'd get if I were to use it normally but I'm certain it's considerably less than the 12 hours I got on win7 (9-cell battery). Lenovo has some special home-brewed software that extends win7 battery life considerably but they don't offer the same software for Linux.
So what do? Do you think it might be the WiFi that's causing some of this? That is, maybe whenever it's tasked heavily it gobbles up power? I'm hoping that's the case but I'm sort of stuck here with regards to the next step(s) I should take.
I've read guides and they seem to be roughly in the same area as far as idle power consumption as I am but it doesn't appear to be the idle power consumption that's the issue.
Any help will be greatly appreciated 🙂