Why does Ubuntu eat more power than Windows?

14

4

I play full screen video with maximum volume or
browse the Web with Wi-Fi.

Under Windows 7 my laptop works ~5 hours.
Under Kubuntu 10.10 only ~2 hours.

I've got an Acer Aspire 1810TZ. Battery wear degree 90%.

Installed:
acpid
acpi-support
pm-utils
upower

Not installed:
laptop-mode-tools

I like Linux and don't want to change it.

What to do to make it live longer?

iUm

Posted 2010-10-21T16:34:31.083

Reputation: 253

Guess this is not enough info to draw in a conclusion, but I'd check how ofter each system is using your wifi, which consumes quite a lot of energy... maybe kubuntu is hitting it much often. Get some sniffer (wireshark, etc) and leave it running while watching some movie, and compare later. – None – 2010-10-21T16:40:54.953

I'd recommend you switch away from KDE. Try UNE 10.04, or Lubuntu. – Matt Joiner – 2010-10-21T20:26:59.917

You might want to edit your title/tag to say "Kubuntu" instead of "Ubuntu". – ThatGraemeGuy – 2011-03-01T12:50:49.033

Answers

8

All the hardware in your computer has drivers specifically designed for Windows and not for Linux.

This happens for obvious reasons: Windows has 90% market share and Linux less than 1%. It's hard to convince a hardware manufacture to spend money developing something for less than 1% of the market.

The consequence is that a lot of the drivers that Linux uses are "second grade" drivers, some reverse engineered, some developed from scratch by the community and so on. They don't have the same performance as the driver made by the hardware manufacture.

So there's a distinct possibility that even after dimming the LCD light, reducing the CPU speed, as suggested by the user laurent-rpnet, your Ubuntu will still draw more power than windows.

Lombas

Posted 2010-10-21T16:34:31.083

Reputation: 396

2I doubt drivers would really make that big of a difference in power usage. Performance, maybe, but not battery life--at least not significantly. – Sasha Chedygov – 2010-10-21T18:21:20.903

6I disagree. In a lot of devices, performance is directly linked with power. The CPU for instance can be dynamically under clocked to reduce power. I can't be sure, but I think that without the proper driver the OS's power management won't work properly for that device. If the OS's power management doesn't work properly, the device would be running at an arbitrary performance level, that could be very power draining. Of course, not all the devices have performance levels, but WIFI, CPU, Bluetooth, IDE and SATA devices, have. – Lombas – 2010-10-25T15:04:07.367

7

It doesn't really matter all that much which distribution you are running (it matters a bit CPU wise); Linux' drivers are not power optimized in the degree they have been on Windows (or OS X for that matter). Actually, one of the main focus points for Windows Vista/7 was power optimization, and they really succeeded in that matter (of course the manufacturer produced drivers needed to be updated as well, so sometimes you actually used more power after upgrading).

The money in Linux has always been in BIG IRON (as in server platform), and the drivers have thus mainly focused on performance. Power efficiency is mainly a thing of concern to end-users and it simply does not pay (for hardware producers) to put a lot of money into this market.

For comparison I could get a maximum of 1 h 50 m when running Ubuntu 8.04 on Acer Travelmate 6292 (screen dimmed way down), whereas I could just squeeze out close to four hours on Windows Vista. That was with power optimized drivers and power management software from Acer. If just using the built in software from Windows I lost close to an hour of battery time.

This really is not a new thing and it has not improved in a big way in the last few years either. Some Google searches can bring you up to speed on the matter.

oligofren

Posted 2010-10-21T16:34:31.083

Reputation: 842

BTW, your example is not really fair, since Acer offers no Ubuntu certified laptops, see http://www.ubuntu.com/certification/; and check here to see how its power management is known to be poor: http://www.linux-on-laptops.com/acer.html

– None – 2011-11-17T14:36:50.990

1The world is not fair and this is no different ;-) Acer might be a bit worse than others, but a Dell or Lenovo will still run for longer on Windows than Linux. That's life until there is more money in the Linux end-user market. BTW: There was little value on the linux-on-laptops page: just a hundreds of links to blogs describing how they installed Linux on a Acer computer and their experiences with that. I would have expected a form of chart comparing Acer computers to others. What value did you expect to bring to the table with that URI? – oligofren – 2011-12-08T17:38:12.653

Try searching for your model there and you will find "Power mgmt - Doesn't Work". BTW: Google choose Linux for their laptops for a good reason; you can go to them and complain. – None – 2011-12-12T14:25:20.993

1This is not a thread on whether Linux is a good operating system - which it is. And I am not complaining: I am bringing facts to the table. If I was in Google's position, I would probably choose Linux too. I use Linux daily as a developer, and it fits that role brilliantly. But that is not the topic of this thread. – oligofren – 2011-12-14T10:10:03.650

3

PowerTOP will tell you what is causing your processor to wake up and run (contrary to what that page says, it will run on other platforms; it just won't show as much information).

Ignacio Vazquez-Abrams

Posted 2010-10-21T16:34:31.083

Reputation: 100 516

2

If you have a dedicated graphics card then it is possible that it is staying on always. It consumes a lot of power and the laptop gets heated up pretty fast. Install bumblebee. It will turn off your dedicated graphics card and will run only the integrated graphics card. Hope this helps.

Arkadipta Sarkar

Posted 2010-10-21T16:34:31.083

Reputation: 21

1

I don't agree. Maybe using the default installations you might be right, because Ubuntu starts without power management (2 hours battery life in my laptop).

By installing cpufreq utilities and setting the cpu governor to "powersave" using the integrated Intel graphics I get 7.5 hours of calculated battery life against the 6 hours and something on Windows. This using an MSI GT72 6QD laptop.

Zibri

Posted 2010-10-21T16:34:31.083

Reputation: 191

Can you add some how-to information (or at least some links) to your answer? – Peter Mortensen – 2017-06-11T15:35:50.307

apt update && apt install cpufrequtils indicator-cpufreq

then set governor to powersave – Zibri – 2017-09-17T15:16:16.320

0

Usually, Windows itself or some tool from the maker of the laptop deems your screen (even when using) and stops your HD (if not used) when you're on batteries. I'd check if Ubuntu is doing that too as probably you bought the laptop with Windows pre-installed and installed Ubuntu after so you don't have the default config and the laptop maker softwares installed. Also, possibly Windows is reducing your cpu clock too.

laurent

Posted 2010-10-21T16:34:31.083

Reputation: 4 166

0

Check the settings in Network Manager. Under GNOME that would be nm-applet, but off the top of my head I don't recall its name in KDE. It's possible that Windows simply has more stringent power-saving settings than KDE does on your particular system.

CarlF

Posted 2010-10-21T16:34:31.083

Reputation: 8 576