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.

    M1330: Poor battery life in Ubuntu

    Discussion in 'Linux Compatibility and Software' started by jerbils, Jun 5, 2008.

  1. jerbils

    jerbils Notebook Enthusiast

    Reputations:
    0
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    5
    Hey guys, I've been doing some research on this, but I can't get a straight answer. I'm running Ubuntu (Hardy Heron) on my XPS M1330, but I get really poor battery life, a bit less than 3 hours. I consider that bad because I have the huge 9-cell battery, and I get close to double the runtime in Vista. I'm also pretty new with Linux. It doesn't seem that the processor can be stepped down like in Windows. Do you guys know of any fixes for this? I appreciate any help, thank you!
     
  2. pixelot

    pixelot Notebook Acolyte

    Reputations:
    3,732
    Messages:
    6,833
    Likes Received:
    0
    Trophy Points:
    205
    That's pretty bad. But I think there may be ways to step down the processor...anyways, you should probably tweak the processes that are running. ;)

    In fact, I thought the CPU was downclocked by default, at least in Gutsy. :confused:

    Anyways, check the Add/Remove Programs for those sorts of programs...

    Thomas, if you're reading this, what's that program you said is good for paring down Ubuntu? :D
     
  3. szandor

    szandor Notebook Evangelist

    Reputations:
    66
    Messages:
    323
    Likes Received:
    0
    Trophy Points:
    30
    see what

    cat /proc/acpi/battery/BAT0/info

    says. it should show you something like below.

    design capacity: 7800 mAh
    last full capacity: 7860 mAh

    if the last full capacity (last full charge) is close to 7800, you're doing good and you should be able to adjust your performance/battery options in ubuntu just like windows, with minor differences.
     
  4. blackbird

    blackbird Notebook Deity

    Reputations:
    584
    Messages:
    1,546
    Likes Received:
    0
    Trophy Points:
    55
    you must have the following essential stuff installed for power scaling in laptops to work

    cpufrequtils (for cpu frequency scaling)

    laptop-mode-tools (general laptop powers saving)

    pm-utils (for suspending)


    You might have them already installed, in terminal could you type in cpufreq-info and post its output here
     
  5. Bog

    Bog Losing it...

    Reputations:
    4,018
    Messages:
    6,046
    Likes Received:
    7
    Trophy Points:
    206
    Also make sure that the hdparm service is enabled (see Preferences/Administrator).
     
  6. FFZERO

    FFZERO Notebook Evangelist

    Reputations:
    23
    Messages:
    321
    Likes Received:
    1
    Trophy Points:
    31
    To dynamically change your clock speed, you can run the following command:

    sudo dpkg-reconfigure gnome-applets

    "Right-Click>add to panel" on the panel and select cpu frequency scaling monitor. You can change the clock speed by left-clicking on this applets. I have done this myself many things when I was using ubuntu without any problem. The disclaimer only warn you that you have the power to change the clock speed without root/sudo permission.

    You can rerun the command again if you feel uneasy about what its telling you to do.

    However, to achieve only 3 hour with a 9-cell seen really off. Have you drain the battery to 3 hour or only look at the battery meter? The battery meter can sometime be off (like windows) and the only real way of knowing how much battery life you have under linux is to try doing a drain test. For my m1330, the battery meter tells me I only have 3 hrs but in reality, I mange to get 3:30 (with little to 20 minutes left). I had the brightness on level 3, clock speed - powersave, and Ethernet cable plug in with wifi/bluetooth off. I also am not using laptop-mode (disable the utility).

    By default, distro such as Ubuntu have your cpu default to ondemand for anyone wondering.