Written by biniou the 3 Feb 09 at 11:48.
Category: Hardware support.
Related project:
Nothing/Others.
Status: New
Rationale
Ubuntu as almost all linux distributions has a crapy life battery. Power management is incompleted. It would be nice to have an interface for desactivating some components like bluetooth or webcam etc.
On my Samsung NC10, I have 8h under XP against 5 under Ubuntu!
powertop should be incorporated to the system, with gui in the energy manager. when the computer goes in battery, an alert pops asking "would you like save battery?"...
Though it's not a bad idea for some items - like the radios in wireless or bluetooth - I have REAL issues with that for just slamming power on other devices (like video, etc.) because when they come back up - God Himself doesn't even know what state they come back to
That means a massive kernel and/or driver re-write for everything we power-manage since we'll have to:
1. Absolutely *KNOW* the precise state of the device, internal registers, currently pending operations, what's in the display list, etc. etc. etc.
2. Not only be able to READ all this information, but have a way to RE-INITIALIZE it back into that state when it comes back on-line.
I have real issues with hibernation in Windows/anything else (and to a less extent with Suspend), for just that reason. I put a laptop into hibernation - then bring it back later on - and it is **invariably** all confuzerated about SOMETHING. I end up rebooting the $^#&@!ing thing anyway.
Soft-off for certain features of certain devices? Sure! Hard-power-off? Fugeddaboutit!!
Windows XP (even 2000) had this option, by using the 'safely remove hardware' option, the drive actually had it's power cut.
I like to have a DVD drive available for the (rare) cases where I actually use it on my laptop. However to have it powered up (worse, being polled by HAL for new media) all the time is annoying. It is even showing it's power LED when suspended to RAM, this needs sorting, please!
You should try try laptop-mode through WattOSPM as it lets you optimise laptop-mode-tools through a nice GUI to enable a considerable saving on power consumption. I personally can gain an extra 45min+ over windows with the tool and an extra 1:05hours over a default Ubuntu install.
I also would like to see a universal version of Ekobatt though so I can set my laptop to be suitable for max battery life in any user scenario.