The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Power Saving Tips

    Discussion in 'Linux Compatibility and Software' started by ZaZ, Oct 5, 2008.

  1. ZaZ

    ZaZ Super Model Super Moderator

    Reputations:
    4,982
    Messages:
    34,001
    Likes Received:
    1,415
    Trophy Points:
    581
    I was thinking of putting Ubuntu back on my notebook. One thing I didn't like about it is it seems in my case to get less battery life. It used to get about three hours on battery while Windows got four. Anyone got any tips for getting better battery life in Ubuntu? I don't need it to be exactly the same, but something closer would be nice. Thanks for any help.
     
  2. Bog

    Bog Losing it...

    Reputations:
    4,018
    Messages:
    6,046
    Likes Received:
    7
    Trophy Points:
    206
    Linux distros are as good as they're going to get out of the box, really. Unlike Windows, tweaking isn't as easy unless you are very much at home using the command line.

    That said, there is Intels PowerTop application that allows you to make power management tweaks. Undervolting is another option, although it is ridiculously complicated as it requires a recompiled kernel in order to accomodate the patch. You could also set the processor to run at its lowest clock speed with a minimal performance hit, since Ubuntu isn't very demanding.
     
  3. ZaZ

    ZaZ Super Model Super Moderator

    Reputations:
    4,982
    Messages:
    34,001
    Likes Received:
    1,415
    Trophy Points:
    581
    So I'm basically hosed?
     
  4. Lysander

    Lysander AFK, raid time.

    Reputations:
    1,553
    Messages:
    2,722
    Likes Received:
    1
    Trophy Points:
    55
    Just shut down all services you arent using. There is a lot of bloat in Ubuntu out of the box that most people don't need.
     
  5. Bog

    Bog Losing it...

    Reputations:
    4,018
    Messages:
    6,046
    Likes Received:
    7
    Trophy Points:
    206
    If I knew the ins and outs of Linux, and how the kernel deals with power management, I would guide you through setting up Gentoo with heavily customized power options, but I don't. :/

    I would, however, advise that you at least try putting Gentoo (or even Arch) together yourself; both distros are supposed to have outstanding documentation on how to set up a system, as complicated as it is.
     
  6. John B

    John B Notebook Prophet

    Reputations:
    1,767
    Messages:
    4,195
    Likes Received:
    0
    Trophy Points:
    105
    I also recommend PowerTop. Have you tried it?

    And you will find many interesting tips here.
     
  7. Pitabred

    Pitabred Linux geek con rat flail!

    Reputations:
    3,300
    Messages:
    7,115
    Likes Received:
    3
    Trophy Points:
    206
    It's really not that big of a deal to undervolt (Lenovo T61/T7300/120GB HDD/4GB RAM here). It just requires a replacement ACPI module, it doesn't require a full new kernel recompile. I'm still running the stock 64bit Ubuntu 8.04 kernel, but I'm undervolting to about 2/3rds of the default voltages on the higher frequencies. It's giving me much better battery life, and it runs cooler to boot.

    Powertop is great, too. Make sure you know what the suggestions mean, though. Stuff like disabling HAL polling for your cdrom means that it won't automatically mount a CD-ROM or even put the icon on your desktop any more. But turning off the radios if you don't need them is a great piece of advice (especially bluetooth). And turn down the brightness as low as you can go while still functioning. Between those, you'll extend your battery life quite a bit. And of course make sure you use an on-demand frequency scheduler, rather than setting it to performance or whatnot.
     
  8. ZaZ

    ZaZ Super Model Super Moderator

    Reputations:
    4,982
    Messages:
    34,001
    Likes Received:
    1,415
    Trophy Points:
    581
    I think that, in a nutshell, is my problem. I don't know how to use Powertop. Is there any kind of guide/FAQ for it?
     
  9. Pitabred

    Pitabred Linux geek con rat flail!

    Reputations:
    3,300
    Messages:
    7,115
    Likes Received:
    3
    Trophy Points:
    206
    Just run powertop. It's pretty well self-documenting as far as what it suggests. If you're confused, take the suggestion it makes to Google, and if you're in doubt, post it here ;) I can't find any "how-to's", but just running powertop will give you a good idea of what part of your machine is eating up the power the most.
     
  10. Charr

    Charr Notebook Deity

    Reputations:
    415
    Messages:
    1,564
    Likes Received:
    0
    Trophy Points:
    55
    Are modern kernels tickless? I remember reading an article about it a while back them.
     
  11. John B

    John B Notebook Prophet

    Reputations:
    1,767
    Messages:
    4,195
    Likes Received:
    0
    Trophy Points:
    105
    Yes, since 2.6.21
     
  12. grok

    grok Notebook Enthusiast

    Reputations:
    30
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    5