You are not logged in.
Pages: 1
Since getting my new eeepc, I've been trying to make it match/exceed the advertised battery life.
So far... I've got the power usage down pretty low while keeping a usable system. Apart from the obvious ones, cpufreq, laptop-mode and brightness, here's some of the things I've found that can help improve battery life...
- Not leaving gmail or ajax intensive pages open. Closing gmail consistently shows a reduction of 1W, sometimes more. With gmail open, both midori and firefox are creating over 100 wakeups a second. I suppose gmail creates a constant traffic, both increasing the wireless use and keeping the CPU awake for longer.
- eee-control from AUR. On windows, Asus netbooks have the "super hybrid engine" which slows the FSB to reduce power usage. eee-control contains an implementation of this and enables many of the FN keys. This saves a few watts.
- wireless power saving. This has killed throughput pretty badly, maxing out at about 20KB/s in pacman, but for web browsing it's fine. Saves quite a bit of power.
The combination of everything has got my power usage down from ~11-12W at use to ~7-9W, and to an idle of ~6-7W. As a result I'm getting at least another hour of battery life, if not more.
What ideas do you guys have?
Last edited by iphitus (2009-06-02 03:10:28)
Offline
I use laptop-mode-tools to control everything from my HDD spin downs to my sound powersave feature. But since my battery is out of whack It does a good 45 min. Back then it could do almost 2 hours with mupen64plus running. Also the same for the windows side.
Offline
Yep, laptop-mode-tools are the best tool around for power saving.
Try to use as much ram you can. Like, disable hdd cache for ff. That can help a bit.
But linux power saving is far behind windows/mac not cuz the linux guys are lazy, but hardware providers wont cooperate to make it run as it should.
You could also try kernel from Moblin, Intel guys tweaked power saving in it.
Offline
Offline
I used to hand-pick applications for the lowest possible number of wakeups per second. Some are broken and will use plenty of your battery with a stupid loop on the processor. Some examples: Xfce used to be better than GNOME (dunno currently), abiword is much better than OOo. Generally, it's possible to have less than 10 wakeups/s, assuming that you don't use wifi/mouse/touchpad.
Offline
ive sent the firefox profile to ram, makes the hdd sleep for longer periods of time, same goes with pidgin.
a script backsup every 15 minutes, and when i shutdown, it restores the profile when i turn on the computer.
Offline
Can you c/p that script?
Offline
Can you c/p that script?
sure, i actually borrowed this from somewhere around the net... here it goes
$ cat .pack_ffox.sh
#!/bin/bash
# Change this to match your correct profile
PROFILE="oqxlxay2.default"
HOME_DIR="/home/eldragon"
# echo "${HOME}"
# echo "${HOME_DIR}"
HOME=${HOME_DIR}
cd "${HOME}/.mozilla/firefox"
if test -z "$(mount | grep -F "${HOME}/.mozilla/firefox/${PROFILE}" )"
then
mount "${HOME}/.mozilla/firefox/${PROFILE}"
fi
if test -f "${PROFILE}/.unpacked"
then
tar --exclude '.unpacked' -cpf packed.tmp.tar "$PROFILE"
mv packed.tar packed.tar.old
mv packed.tmp.tar packed.tar
else
tar xpf packed.tar &&\
touch "${PROFILE}/.unpacked"
fisome initial setup needs to be done, and a ramfs needs to be setup. so, here comes the fstab entry:
firefox /home/eldragon/.mozilla/firefox/oqxlxay2.default tmpfs size=128M,noauto,user,exec,uid=1000,gid=100 0 0of course, first manually pack your profile, and clear that folder ![]()
Offline
ive sent the firefox profile to ram.
not exactly the same, but did you know you can use about:config to move the browser cache to ram?
type about:config into firefox address bar
right click in white space to add new string
preference name = browser.cache.disk.parent_directory
value = /tmp
I've used /tmp as I already have that set up as tmpfs in fstab:
none /tmp tmpfs rw,noexec,nosuid,nodev,size=200M 0 0Offline
dont quote me on this (and im too lazy to find the source), but i think the issue of firefox using the hdd on every page load is not entirely related to the cache.
do a test, let the hdd spin down. and then click on a link (with browser already active). see if the hdd spins up again..
Offline
@eldragon: this could be the source http://www.verot.net/firefox_tmpfs.htm
Offline
Type about:config into the Location Bar
Set these preferences to these values....
browser.cache.disk.enable to False
browser.cache.memory.enable to True
I use that for last month. I works fine, i dont think that i need profile in ram.
Offline
If you rarely use your laptop on battery, then make sure you do so once a week and let the charge drop to 40% or so before plugging in - extends battery charging capacity for when you do need it.
Offline
@vacant: 0% once a month or so works fine for me.
urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand
Offline
If you rarely use your laptop on battery, then make sure you do so once a week and let the charge drop to 40% or so before plugging in - extends battery charging capacity for when you do need it.
Can you explain the rationale behind that?
* B is curious
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
vacant wrote:If you rarely use your laptop on battery, then make sure you do so once a week and let the charge drop to 40% or so before plugging in - extends battery charging capacity for when you do need it.
Can you explain the rationale behind that?
* B is curious
Well, I don't own a eeePC but I confirm you should use your battery every now and then. Otherwise your battery charger will slowly kill your battery. From my own experience, having a laptop constantly plugged to the grid will f*ck your battery in a matter of months (say, from 12 to 18).
what goes up must come down
Offline
I second that. Reading the manual, it explicitly says to let the battery discharge now and then. Otherwise, what would be the point of having a laptop? lol
Offline
vacant wrote:If you rarely use your laptop on battery, then make sure you do so once a week and let the charge drop to 40% or so before plugging in - extends battery charging capacity for when you do need it.
Can you explain the rationale behind that?
Here is the article.
"If you do use the mains as your primary power source - as you might well if the notebook's your main machine - at least make sure you use your laptop on battery power a couple of times a week."
Last edited by vacant (2009-06-03 21:59:22)
Offline
Or alternatively, if you're running on power for long periods, remove the battery altogether. Lion batteries store best at ~40%.
Offline
dont quote me on this (and im too lazy to find the source), but i think the issue of firefox using the hdd on every page load is not entirely related to the cache.
do a test, let the hdd spin down. and then click on a link (with browser already active). see if the hdd spins up again..
Yeah, I think you are right. It's real hard to tell as my machine is annoyingly loud (T43s have a cooling and bios problem and it constantly blows),but I am sure I can hear it accessing the drive every time I change pages. This is because of the databases it has for history? I thought I turned that stuff off.. Trying not to go too OT, do you think the Firefox 3.5 "private-browsing" mode will fix that? I guess it won't be recording to the database then?
Offline
eldragon wrote:dont quote me on this (and im too lazy to find the source), but i think the issue of firefox using the hdd on every page load is not entirely related to the cache.
do a test, let the hdd spin down. and then click on a link (with browser already active). see if the hdd spins up again..
Yeah, I think you are right. It's real hard to tell as my machine is annoyingly loud (T43s have a cooling and bios problem and it constantly blows),but I am sure I can hear it accessing the drive every time I change pages. This is because of the databases it has for history? I thought I turned that stuff off.. Trying not to go too OT, do you think the Firefox 3.5 "private-browsing" mode will fix that? I guess it won't be recording to the database then?
im not sure. i decided it was easier to tweak arch once, than to tweak firefox every time there is a new release. and the database is a nice addition, this way, i dont lose functionality, blindling fast browser history search and a quiet hdd.
Offline
Pages: 1