You are not logged in.
Pages: 1
Hello, everyone! It's been a while, but Arch has pulled me back in and I hope I'm here to stay. A couple of days ago I had an small operation that requires me to stay at home and high on pain medication, so I figured reinstalling Arch on my laptop would be a great way to pass that time. (The pain meds might have something to do with that...) You see, I've bought my current laptop on a student's budget and though it works fine, I have one gripe with it: the terrible battery life. While my sister can work on her Macbook the entire day without recharging, my Asus K52je won't last 2h without recharching. I decided to try setting up a dual boot with Arch again to see if it could give me some extra laptop time on the train or in the couch. I read https://wiki.archlinux.org/index.php/Laptop and installed cpufrequtils and laptop-mode-tools (among others), but to no avail. In Gnome 3 I only get about 1h30m, in LXDE I get 1h50m out of it.
I haven't gone over all the options yet and I wouldn't mind spending some more time on configuring power management if it could extend the battery life with 30 minutes or more. However, I don't feel like wasting another day finetuning configuration files for 5 or 10 minutes extra, so my question to you is: is it worth it? Is there a way for me to significantly improve the battery life of this laptop in Arch without sacrificing usability? On a side note, I do not NEED the extra battery time, it's just a hobby project. If I don't have a chance of getting any real results, I'd rather find another project.
Offline
This is not an Arch Discussion, moving to Newbie Corner.
ᶘ ᵒᴥᵒᶅ
Offline
pcie_aspm=force as kernel argument might help in order to force the kernel to use power management in devices that bios reports as don't capable of that but they are.
http://lwn.net/Articles/449448/
using cpufreq in order to manage processor frequency and some other tool to manage backlight levels of the screen could help you.
What kind of graphic card does your laptop have? nvidia ones had bad power management with one driver, ie. IIRC the nvidia driver (or was it with the nouveau ?). Information about card and model will make easier for people to help you in this subject
Best Testing Repo Warning: [testing] means it can eat you hamster, catch fire and you should keep it away from children. And I'm serious here, it's not an April 1st joke.
Offline
Thanks for the quick reply! I'm already using cpufreq to manage cpu frequencies (using the powersave governer when on battery) and laptop-mode-tools for the backlight (backlight is half of the maximum value when on battery, I could probably decrease this some more). I'll try the ASPM workaround, though.
The graphics card is an ATI Mobility Radeon HD 5470 (512 MB RAM) and I'm using the open-source ATI driver, xf86-video-ati. Sorry for posting in the wrong forum, by the way.
Offline
I assert that it is worth it.
Battery life = Power.
Power * time = Energy
Energy = {Dollars, Yen, Euro, Pound}.
Power = how fast we convert organized energy sources into waste heat.
Heat kills equipment.
Energy costs money.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
I have the same card as you have, only the 1GB version. The open source drivers give me hardly an 2 hours battery life while the catalyst drivers can easily manage 3+ hours. So you might wanna try that.
“Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do. So throw off the bowlines. Sail away from the safe harbor. Catch the trade winds in your sails. Explore. Dream. Discover.” - Mark Twain
Offline
If you have an Intel cpu, you could use phc-intel from the AUR, for AMD cpus there's phc-k8. Helps a lot! (although it's still dangerous, so use with care)
edit:
You also could execute
echo "low" > /sys/class/drm/card0/device/power_profile
for the opensource driver to make the card consume less power.
Last but not least, there's rovclock.
Example:
rovclock -c 200 -m 100
I don't know how much those two lines really change, but especially the first one is 100% safe.
Last edited by Army (2011-08-06 18:17:27)
Offline
I have ASUS K50IJ laptop. I have it for about 2 years now and i have never managed to get the battery working for more than 2,5 hours on Linux (i never installed Windows on it). CPU frequency scaling is not supported (i can't load the modules), pcie_aspm=force doesn't do anything, laptop-mode is enabled - in my case i surrendered in low-battery destiny
Last edited by Shark (2011-08-06 18:38:16)
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
I have the same card as you have, only the 1GB version. The open source drivers give me hardly an 2 hours battery life while the catalyst drivers can easily manage 3+ hours. So you might wanna try that.
Last time I used Arch I used the Catalyst drivers and it didn't seem to make a difference at all. I'm also surprised at how easy it is to set up dual monitors with the open source drivers: just plugging in the external monitor and that's it, so I'll stay with the open source drivers out of pure laziness.
If you have an Intel cpu, you could use phc-intel from the AUR, for AMD cpus there's phc-k8. Helps a lot!
Last but not least, there's rovclock.
I'm reluctant to try undervolting for several reasons. First of all, I have an intel i3 processor, which is apparently currently unsupported by phc-intel. I tried rovclock, but it doens't seem to detect the card right. Secondly, I used to undervolt the CPU of my previous laptop and it didn't seem to do much for the battery back then.
echo "low" > /sys/class/drm/card0/device/power_profile
This was an excellent idea, it's the first thing that made a big impact! I'm testing it right now, but when I executed this command the estimated battery time went from 1h39 minutes to 2h02m. Is there a way to make this happen automatically when the laptop is running on battery?
I have ASUS K50IJ laptop. I have it for about 2 years now and i have never managed to get the battery working for more than 2,5 hours on Linux
Still better than mine, which is only half a year old.
Offline
Mihasi;
Have you every used powertop? it will give you lots of suggestions for improving battery life.
Offline
Mihasi;
Have you every used powertop? it will give you lots of suggestions for improving battery life.
I have used it before, but I forgot about it. Thanks for the suggestion, I'll try it again.
Offline
Pages: 1