Battery life in Ubuntu

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
lukee
Junior Member
Junior Member
Posts: 454
Joined: Mon Oct 12, 2009 7:17 am
Location: CZ / Europe

Battery life in Ubuntu

#1 Post by lukee » Mon Feb 07, 2011 4:58 am

Hi, when I am using W7 I can get 4 - 5 hours of battery life with extended battery on my T43p. When I boot to Ubuntu 10.10, I am not able to get more than 2 - 2.5 hours of battery life altough I set Powersave profile and minimal intensity of LCD's backlight. Where could be the problem?
Current: T420
Previous: T400, T43p Flexview, T40, R52, T43p 14"
My first ThinkPad was 570

jronald
Contributing Member
Contributing Member
Posts: 1792
Joined: Sun Apr 13, 2008 7:11 pm
Location: RTP, North Carolina

Re: Battery life in Ubuntu

#2 Post by jronald » Mon Feb 07, 2011 4:55 pm

The only area I have seen Windoze excel at is battery life. uBuntu will not get the same life.

Ron
I see in my son's eyes, each day, the wonders I have squandered fortunes to possess and have sought my entire lifetime to attain. jrr 09/2011


T400's and T500's

ThinkRob
Senior ThinkPadder
Senior ThinkPadder
Posts: 2364
Joined: Wed May 20, 2009 9:54 am
Location: near RTP, NC

Re: Battery life in Ubuntu

#3 Post by ThinkRob » Tue Feb 08, 2011 9:58 am

lukee wrote:Hi, when I am using W7 I can get 4 - 5 hours of battery life with extended battery on my T43p. When I boot to Ubuntu 10.10, I am not able to get more than 2 - 2.5 hours of battery life altough I set Powersave profile and minimal intensity of LCD's backlight. Where could be the problem?
My bet is that the GPU doesn't have the proper drivers installed, and as such isn't going in to power-saving mode. Did you install the restricted ATI drivers?

Other things to check/enable:

- WLAN power saving
- Bluetooth on/off
- hard disk spin-down/parking (I think Ubuntu has this preconfigured, but I can't remember)
- anything else that powertop recommends
The only area I have seen Windoze excel at is battery life. uBuntu will not get the same life.
With the exception of a few machines with an ATI GPU, that is most decidedly wrong. In fact, a number of machines can actually achieve better battery life under Linux than Windows, especially with recent kernels.
Need help with Linux or FreeBSD? Catch me on IRC: I'm ThinkRob on FreeNode and EFnet.

Code: Select all

Current laptop: X1 Carbon 3
Current workstation: none

lukee
Junior Member
Junior Member
Posts: 454
Joined: Mon Oct 12, 2009 7:17 am
Location: CZ / Europe

Re: Battery life in Ubuntu

#4 Post by lukee » Tue Feb 08, 2011 4:40 pm

Hi ThinkRob. I am using an opensource ATI Radeon driver because ATI doesn't support Radeon X600 family anymore with the binary drivers. Bluetooth is off, WiFi is used gently.
Current: T420
Previous: T400, T43p Flexview, T40, R52, T43p 14"
My first ThinkPad was 570

ThinkRob
Senior ThinkPadder
Senior ThinkPadder
Posts: 2364
Joined: Wed May 20, 2009 9:54 am
Location: near RTP, NC

Re: Battery life in Ubuntu

#5 Post by ThinkRob » Tue Feb 08, 2011 8:57 pm

lukee wrote:Hi ThinkRob. I am using an opensource ATI Radeon driver because ATI doesn't support Radeon X600 family anymore with the binary drivers. Bluetooth is off, WiFi is used gently.
Ah yes. AMD and their wonderful driver support. :roll: Yeah, if they dropped support for modern kernels, that might explain it. When I last ran Linux on my T43p the ATI driver still supported the GPU, and power-saving worked fine.

That said, I believe there are some power-saving features with the radeon module.

Also, have you run powertop and followed its advice?
Need help with Linux or FreeBSD? Catch me on IRC: I'm ThinkRob on FreeNode and EFnet.

Code: Select all

Current laptop: X1 Carbon 3
Current workstation: none

i-SnipeZ
Sophomore Member
Posts: 204
Joined: Mon Sep 22, 2008 9:18 pm
Location: Denver, Colorado

Re: Battery life in Ubuntu

#6 Post by i-SnipeZ » Wed Feb 09, 2011 5:42 pm

The open drivers are most likely the reason. I don't get better, but I do get equal battery life in Ubuntu compared to Windows on my machine, but, if the drivers you're using, especially for the video card, don't support power saving options, it's not a surprise your battery life is horrible.
ThinkPad X200

Think Different

ThinkRob
Senior ThinkPadder
Senior ThinkPadder
Posts: 2364
Joined: Wed May 20, 2009 9:54 am
Location: near RTP, NC

Re: Battery life in Ubuntu

#7 Post by ThinkRob » Wed Feb 09, 2011 10:16 pm

i-SnipeZ wrote:The open drivers are most likely the reason. I don't get better, but I do get equal battery life in Ubuntu compared to Windows on my machine, but, if the drivers you're using, especially for the video card, don't support power saving options, it's not a surprise your battery life is horrible.
FWIW, my T500 got better battery life under Linux than Windows when using the Intel GPU, and vice-versa when using the AMD one (even with AMD's proprietary Linux driver.) The difference wasn't significant either way, but it was consistent.
Need help with Linux or FreeBSD? Catch me on IRC: I'm ThinkRob on FreeNode and EFnet.

Code: Select all

Current laptop: X1 Carbon 3
Current workstation: none

comps
Freshman Member
Posts: 83
Joined: Thu Jan 27, 2011 2:56 pm
Location: Prague, Czech Republic

Re: Battery life in Ubuntu

#8 Post by comps » Thu Feb 10, 2011 6:53 am

There's an ongoing development of power-saving features in the radeon/radeonhd drivers. The basic framework was added in 2.6.35, though I failed to use it with that kernel. Use 2.6.36 - or better - the latest stable/rc kernel.

See ie. http://www.overclock.net/linux-unix/731 ... river.html - there are some useful hints for both UMS and KMS.

It won't probably be as good as the fglrx driver, but it's better than nothing.

frankausmtank
Freshman Member
Posts: 111
Joined: Thu Aug 03, 2006 5:06 am
Location: Berlin, Germany

Re: Battery life in Ubuntu

#9 Post by frankausmtank » Sun Feb 13, 2011 9:00 am

comps wrote:There's an ongoing development of power-saving features in the radeon/radeonhd drivers. The basic framework was added in 2.6.35, though I failed to use it with that kernel. Use 2.6.36 - or better - the latest stable/rc kernel.

See ie. http://www.overclock.net/linux-unix/731 ... river.html - there are some useful hints for both UMS and KMS.

It won't probably be as good as the fglrx driver, but it's better than nothing.
Now that's a nice hint, thanks. I made a desktop shortcut for

Code: Select all

beesu "echo low > /sys/class/drm/card0/device/power_profile"
to manually trigger the low setting without going to the command line. Refresh rates on glxgears in fullscreen mode dropped from ~60 fps to ~25, so there seems to be something happening (2.6.35 here). Didn't check for an improvement in battery life yet.

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 6 guests