Topic: Would any of these options extend my battery life?

I'm going back to university soon, and my laptop's battery is quite precious during the time I'm there.
Right now i get anywhere from 2:30 to 3 hours of battery, but i'd like to extend that.

I was thinking, is there a way to set my CPU's frequency, or frequency range? I understand linux should automatically throttle the frequency from about 800Mhz to the maximum speed depending on the load on the system. I was wondering if I could set it to always be 800Mhz and never go higher, or perhaps set a limit, and let it throttle to 800Mhz when its not being used really, and then if it does need the power, let it go to 1.6Ghz or something, but still not full speed.

The question is if this would have a noticeable effect, and if it is possible.

The other thing I was thinking is if I had less ram in the computer, it would be using less power. But how much power does a stick of ram really take? I have two 2GB sticks, so I could definitely live without one of them during school-hours, since Statler uses about 400MB and I'm never over 1GB, even at its heaviest.

So are either of these options viable?

And finally, is there anything else i can do that will extend my battery? Besides the usual options found in thepower manager.

Thanks cool

just call me...
~FSM~

Re: Would any of these options extend my battery life?

I think it really depends on how you use it. For the RAM, if you have high RAM usage, then removing some would just make you use swap more, and the HDD spinning more will probably decrease your battery faster than the RAM would. SSDs are more energy efficient than HDDs, so unless you hardly use your RAM, don't remove it is my opinion. DDR3 uses 1.5 V, DDR2 uses 1.8 V. I'm not familiar with voltage, so I don't know if this is per hour or second or what.

CPU.. I think that throttling it should help, but I've heard some interesting arguments about HDDs that I think might apply here. Lots of people say 7200rpm for laptops is stupid, because it would drop battery life. But I've also heard that 7200rpm isn't bad, because the faster access speed allows you to go back to idle quicker than 5400rpm would, thus... not dropping battery life. Or at least not as much as people think?

I'm not completely sure about all this. My suggestion would be to find out how (if possible) to throttle it and then experiment with whatever works better.

Last edited by gareim (2010-08-06 02:38:00)

Re: Would any of these options extend my battery life?

Beyond the basic usage advice (less bright screen, wireless off, any unnecessary daemons removed) a few things I'm using are:
1)laptop-mode-tools: can be installed from the repos and automatically sets a lot of power mangement options (bluetooth, wireless, harddrive settings, etc)
2)undervolting the cpu. (http://crunchbanglinux.org/forums/topic … n-statler/) : Might not save a whole lot of direct energy, but keeps heat down which keeps fans from popping on or running too fast.

Also not 100% sure-- but I've been told the ondemand governer (which uses all available frequencies) is the most power efficient option as it allows your cpu to spend more time in deeper (c2,c3,c4) sleep states.

IRC: PizzaAndWine     Script bits: Incremental Backup | Sleep Timer

Re: Would any of these options extend my battery life?

I have 4GB DDR3 Ram. Like i said, i never use more than 1GB ram, and so taking a stick out, putting me at 2GB wouldn't make me use swap any more than I am now (which is 0 lol ).
My HDD is 5400RPM, but the hope is i wouldnt be waking it very often. Most of the time i just need it to last through a lecture, which is just taking notes in gedit or keepnote. I hope that it wouldn't even touch the harddrive until i told it to save.

just call me...
~FSM~

Re: Would any of these options extend my battery life?

taking the extra stick out will save some energy, im not sure it would be noticable tho, if youre only generally using 500mb out of 2 gigs you could perhaps turn down swappiness to minimise hd usage even more.

not convinced of gariem's point of a faster hd using less energy either, does a ferrari use less energy than a smart car because it gets from a to b quicker ? but if you were going down the route of getting a new hard drive i would suggest solid state anyway.

I'd go with jmbarnes advice, turn down screen brightness, turn off screensaver and set the screen to turn off quickly, turn off unneeded daemons, wireless and flashy effects (compiz / xcompmgr).

- - - - - - - - Wiki Pages - - - - - - -
#! install guide           *autostart programs, modify the menu & keybindings
configuring Conky       *installing scripts

Re: Would any of these options extend my battery life?

Cool, i forgot about swapiness. Will probably do that, and check out the options jmbarnes provided.
I'm thinking I might have a second session setup that i can go into just for taking lectures notes, which really will have nothing going on (might even try to find something lighter than openbox as a wm tongue)

just call me...
~FSM~

Re: Would any of these options extend my battery life?

This might be kinda obvious, but using programs that are less processor-intensive (extreme example: nano in TTY1 vs. OpenOffice.org Writer in Gnome) should give better battery performance due to the lowered power load.  I actually noticed this when I was watching some videos on battery power - big energy suck.

while ( ! ( succeed = try() ) );

Re: Would any of these options extend my battery life?

benj1 wrote:

not convinced of gariem's point of a faster hd using less energy either, does a ferrari use less energy than a smart car because it gets from a to b quicker ? but if you were going down the route of getting a new hard drive i would suggest solid state anyway.

Hehe, yeah, I don't really believe that either, but I guess what people (over at Slickdeals) mean is that there's more to it than just numbers. If I had to guess, I would say the 7200rpm uses more power, but not as much as you might think because of the lower access time.. But overall more energy used anyways.

@FSM Have you heard of Minitube? I recently found out about it from another help thread, and it is awesome! Has some design flaws, but I think it has less CPU usage than YouTube in a browser.

By the way, does your name have anything to do with the Flying Spaghetti Monster?? I kept meaning to ask you that! big_smile

Re: Would any of these options extend my battery life?

I'll check out minitube, and i've installed powertop and a few other programs mentioned in this thread.

just call me...
~FSM~

Re: Would any of these options extend my battery life?

could a netbook be an option? as soon as i got a netbook, my "laptop" became a "desktop".  its plugged in at the desk 90% of the time now.  i get about 5 hours of battery on my EEE. and with suspend to ram on the lid close, it lasts all day.

Re: Would any of these options extend my battery life?

No, its really not. The small screen would stop me from working, and I can't work efficiently with small keyboards.
Plus i just bought this laptop recently. I'm really just trying to squeeze and extra half hour + if i can.

just call me...
~FSM~

Re: Would any of these options extend my battery life?

Hi FSM, have you tried to install cpufrequtils? It will let you to set your cpu frequency or frequency governors like powersave, ondemand, or performance.

Other things you can try is to lower screen backlighting, turn off wifi and bluetooth, since you have enough RAM turn off Swap, buy more efficient HDD or SSD (I running on SSD, but I don't see much difference in battery life). Or just buy spare battery, probably the cheapest solution.

Re: Would any of these options extend my battery life?

Hey WoodCAT, thanks for the reply.
My cpu is already set to ondemand, which seems to be the best. and my cpu scaling is enabled.
I usually do all of the regular tricks (i.e. lighting,turning off services, swap etc.) I was hoping to find something less heard of.

And just to point out, buying a spare battery is probably the most expensive option (either that or a ssd), though i never planned to buy anything though.

just call me...
~FSM~

Re: Would any of these options extend my battery life?

I recently read about putting some folders in RAM, such as /tmp. I am sure there were more you can put in ram without any danger. You simply have to add the lines to your fstab:

tmpfs           /tmp            tmpfs   defaults        0       0

For that, it might be better if you let the ram-stick in the laptop, you will weigh out the used power with less harddrive accesses.

Re: Would any of these options extend my battery life?

Yes that could be true too. I wonder where a text editor might keep most of its files.
If i knew that while i had the program open, itd only try to save to certain folders or what have you, and i put that all in ram temporarily, i could stop it from spinning the hdd.
Thanks for the idea elumbella.

just call me...
~FSM~