Just a quick question: I have noticed when I boot into Ubuntu my battery goes empty faster, and checking the "time left" option in Leopard and Ubuntu it says Mac will last 3 hours where Ubuntu will last 1.
Is that normal?????
Just a quick question: I have noticed when I boot into Ubuntu my battery goes empty faster, and checking the "time left" option in Leopard and Ubuntu it says Mac will last 3 hours where Ubuntu will last 1.
Is that normal?????
I would say battery life issues are not uncommon with specialized hardware. Particularly with Apple laptops, you will find many such issues in the Ubuntu forums. But the good news is usually you can tweak and adjust your laptop performance until it gets to pretty normal.
For example, with my Macbook Air, currently I get about 5 hours in OS X. With similar usage, I found I got about one hour of battery life on 11.10.
But it turns out 11.10 has some power management issues due to the 3.0 kernel. Supposedly 12.04 would fix that and I had a couple other issues anyway, so I upgraded to the alpha version. After that, I got about 2 - 2.5 hours. Then I learned about laptop-mode-tools
(given how useful people find this, it's amazing this is not part of the default install for laptops...). Now I find I get about 4 hours. So I'm satisfied.
I've made a comparison of watts used and clearly Ubuntu is just using more than OS X. At idle, OS X is using 9-10 watts, while 12.04 is using 12-13. Part of it is due to this mysterious "display backlight" issue I'm running into, which takes about 2-2.5 watts.
Update: Here's more info about laptop-mode-tools
. This is the website for it. From its FAQ, if you want to check if it's running, type cat /proc/sys/vm/laptop_mode
at the command line; nonzero value means its running. Also, the configuration file is at /etc/laptop-mode/laptop-mode.conf. To read the manual for it, type man laptop-mode.conf
at the command line. To alter the config file you will need to do it as root, e.g. gksu gedit /etc/laptop-mode/laptop-mode.conf
. Be careful doing that! If you want to disable it, to test your system, near the beginning of the file, you should see the option ENABLE_LAPTOP_MODE_TOOLS with the value of 1
-- change it to 0
and shutdown/restart.
laptop-mode-tools
is that it configures a lot of stuff automatically for you. I haven't had to make any adjustments to its configuration file. But if you google, you can find the developer webpage and other useful sites that will explain how to tweak your configuration. I'd also recommend powertop
-- it is a diagnostic tool that will show you what is consuming the most energy and it also makes recommendations of what to adjust (but unfortunately it doesn't let you save those recommendations).
– Chan-Ho Suh
Feb 14 '12 at 19:15
laptop-mode-tools
via de synaptic package manager. Now what? I don't see any new application installed or how to set up stuff.... how do I know if it's already working?
– aderojas
Feb 14 '12 at 22:11
sudo /usr/sbin/laptop_mode
: https://bugs.launchpad.net/ubuntu/+source/laptop-mode-tools/+bug/824643
– aderojas
Feb 14 '12 at 22:29
powertop
before I installed, and after installation, I noticed that a lot of powertop's recommendations were now enabled (even though powertop doesn't save them, only suggests). So I figured it was laptop-mode-tools
doing its thing. I also didn't have my laptop die so easily on me. That was a big indicator :-).
– Chan-Ho Suh
Feb 15 '12 at 01:07
laptop-mode-tools
and use powertop
to watch your power consumption. Note it is a text-based programs but there are menus along the top you can choose with the left/right arrow keys. Then enable laptop-mode and check using powertop
again. You should see an improvement. The power management of the 3.0 kernel is supposed to be dismal though...I don't know how much of an improvement you'll get.
– Chan-Ho Suh
Feb 15 '12 at 01:33
The real issue here is the graphic card, this part use a lot of power. Natively, the Leopard OS will manage and switch automatically between the more and the less powerful graphic card.
On Ubuntu, you will need to use a patch to be able to select which graphic card you want to use according to what you are doing.
I hope it will help you and you will see some improvements.
3 times is a bit extreme. I suspect at least part of the difference may be due to the difference in algorithms estimating battery usage. Try running your laptop until the battery is dry with MacOS and Ubuntu - you may find that Ubuntu lasted 1.5 hours and MacOS lasted 2 - that would be more likely.
I mean - I'm getting 1 hour of battery life with Ubuntu from a cheap 6-year old Compaq laptop... Apple must be making very bad hardware for it to last 1 hour :)