1

I read that running Ubuntu through a virtual machine such as VMware Player or VirtualBox is actually less costly on a laptop's battery than Wubi because it utilizes Windows' drivers, which are optimized for Windows by the hardware manufacturers, as opposed to the Linux drivers, which are less optimized and thus more costly for your system. Is this true for Wubi? If so, is it also true for a "normal" Live CD/USB installation?

1 Answer 1

2

This is not universally true. Some manufacturers/brands of laptops, such as Lenovo Thinkpads, give about equal battery life in Windows or Ubuntu (from personal experience).

  • The two big culprits for why Ubuntu/Linux has somewhat poorer battery life than Windows are (a) Nvidia/AMD hybrid/switchable graphics and (b) auxiliary power management (ACPI) such as fans, screen backlight, etc.-
  • Most laptop manufacturers will choose to use the cheapest components possible. Since the laptop is bundled with Windows, and the overwhelming majority of its user base will use Windows, the manufacturer often does not bother to check whether these components have adequate Linux support or not. As long as the components come with Windows drivers, that's all that matters.
  • For graphics, the Nvidia/AMD refuse to enable the switching capability in their Linux drivers. Consequently, unless you take the extra steps of installing a third-party solution like Bumblebee or vgaswitcheroo -- which may or may not work and aren't automatic -- your discrete graphics are running all the time in Linux/Ubuntu and sucking up power, even if you are doing no "3D gaming" or other heavy stuff.
  • Similarly, the stock Linux drivers for things like fan control, screen brightness/dimming, etc. are often inadequately configured and you will have things like the fan running 100% full time, screen not auto-dimming, etc. which also use up power.

Note that everything which applies to a regular/dual-boot install also applies to Wubi. Wubi is only slightly slower/more CPU intensive than a regular install because it stores its filesystem on the Windows partition (NTFS), and therefore I/O has slightly more overhead associated with it.

While a virtual machine may at best be only 90-95% as efficient as a real machine, if your laptop has problems like the above, then yes, virtualization in Windows with the "working" drivers/power management will most probably use less battery than running Wubi/Ubuntu.

Sadly, there's no way to tell how compatible your laptop is until you try it -- spending time tweaking it, use it for a while, ask a few AU questions, etc. to see if you can get great battery life (or not). The laptops that do work well with Linux (Thinkpads, etc.) are usually sold as "business/corporate" machines, and have a price premium associated with them. It's fair though, because I suppose this premium partly enables the use of higher-quality/better-supported internal components.

3
  • I have a lenovo IdeaPad. I've actually done some work in a Wubi installation already. I managed to get Bumblebee installed, so my switchable graphics are at least working and my dedicated GPU isn't obliterating my battery (though compared to Windows' efficiency, I'm not sure how it looks). My fan doesn't seem to run any more in Linux than in Windows (at least, I can't hear it), and I keep my screen fairly dim to the point where any drivers that handle automatic dimming don't do that much. Judging by that, perhaps a more powerful Wubi install or disk install won't hurt my battery much.
    – Alex
    Jul 13, 2012 at 1:20
  • @AlexBixel, that's good to know. Lenovo machines generally have decent Linux compatibility - power management included. You're right in that Wubi/Ubuntu shouldn't hurt your battery life much. Just remember to switch off the dedicated graphics with Bumblebee whenever you're not using them. For your enlightenment ;), here are some horror stories with other big-name laptops and Ubuntu/power management...
    – ish
    Jul 13, 2012 at 1:25
  • I guess it is fortunate that Lenovo's parts work well with Linux, because they are awful with updating their drivers. Anyways, I have a VirtualBox install ready, a Wubi install standing by, and I'm going to try the disk install though I've been having lots of trouble with it not installing grub properly. I'll run them down to perhaps 50% battery each and see which installation runs out the fastest. Simple enough. Thanks for the answer though, it would seem that virtualization isn't quite as great for my battery life as I suspected.
    – Alex
    Jul 13, 2012 at 1:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .