Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Battery life and ubuntu....
New Posts  All Forums:Forum Nav:

Battery life and ubuntu....

post #1 of 4
Thread Starter 
So far I have installed Jupiter, and it doesn't seem to do much to carve away at the hungriness of Ubuntu 12.04.

At best I can get about 2:30 from Ubuntu, where I would get upwards of 4 hours on Windows.

Where do I start? Is it possible to beat Windows in this regard?
Money
(17 items)
 
Z575
(9 items)
 
 
CPUMotherboardGraphicsRAM
Ryzen 7 1700 @ 3.8Ghz MSI B350 Pro Carbon GIGABYTE R9 390 8GB 1100/1650Mhz 16GB Team DDR4-3000 
Hard DriveHard DriveHard DriveCooling
PNY CS1311 240GB - OS 2 x 2TB WD Black Raid 0 Synology DS416slim 4 x 1TB (raid 5) Corsair H100 
OSOSMonitorKeyboard
Windows 10 Pro ElementaryOS Loki LG 29UM67P 29" 2560x1080 FreeSync HPE 87 w/ Browns + Ducky PBT caps 
PowerCaseMouseAudio
EVGA 600W B2 Lian Li PCA05N Steelseries Rival 100 FiiO G10K + Philips SN9500HiFi 
CPUMotherboardGraphicsRAM
AMD A6-3420M @ 2.2Ghz 1.1v Lenovo Torpedo A55 6720g2 8GB Kingston 1600 CL9 
Hard DriveOSMouse
Samsung 840 250GB ElementaryOS x86_64 Abyssus 3.5G 
  hide details  
Reply
Money
(17 items)
 
Z575
(9 items)
 
 
CPUMotherboardGraphicsRAM
Ryzen 7 1700 @ 3.8Ghz MSI B350 Pro Carbon GIGABYTE R9 390 8GB 1100/1650Mhz 16GB Team DDR4-3000 
Hard DriveHard DriveHard DriveCooling
PNY CS1311 240GB - OS 2 x 2TB WD Black Raid 0 Synology DS416slim 4 x 1TB (raid 5) Corsair H100 
OSOSMonitorKeyboard
Windows 10 Pro ElementaryOS Loki LG 29UM67P 29" 2560x1080 FreeSync HPE 87 w/ Browns + Ducky PBT caps 
PowerCaseMouseAudio
EVGA 600W B2 Lian Li PCA05N Steelseries Rival 100 FiiO G10K + Philips SN9500HiFi 
CPUMotherboardGraphicsRAM
AMD A6-3420M @ 2.2Ghz 1.1v Lenovo Torpedo A55 6720g2 8GB Kingston 1600 CL9 
Hard DriveOSMouse
Samsung 840 250GB ElementaryOS x86_64 Abyssus 3.5G 
  hide details  
Reply
post #2 of 4
I always found Windows to be both overly confident with battery estimates (not that Linux isn't either) and slower. The big point is that I've never had the battery life that I got in Windows; at the same time I didn't have as good of drivers or as slow of an experience. If you want to cut back a little you need to install cpufrequtils and then manually set the cpufreq driver to the powersave setting (It may require 2 tries to get it to stick after startup). Outside of that...backlights need to be dimmed and that pretty much all you can get to as a general user without having a prebuilt system from a Linux seller (I'd assume they'd have better control) or getting into some serious tweaking.
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
Reply
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
Reply
post #3 of 4
Quote:
Originally Posted by Rookie1337 View Post

I always found Windows to be both overly confident with battery estimates (not that Linux isn't either) and slower. The big point is that I've never had the battery life that I got in Windows; at the same time I didn't have as good of drivers or as slow of an experience. If you want to cut back a little you need to install cpufrequtils and then manually set the cpufreq driver to the powersave setting (It may require 2 tries to get it to stick after startup). Outside of that...backlights need to be dimmed and that pretty much all you can get to as a general user without having a prebuilt system from a Linux seller (I'd assume they'd have better control) or getting into some serious tweaking.

The CPU Governer is normally set to on demand which is generally the best i.e. speeds up when you need it and downclocks when you don't. The only problem then is when the CPU is being used it'll speed itself up, even if you aren't the one directly using the CPU ( like some reports of people's installs just running unusually high on cpu usage ). But if you can iron out those issues then it's no problem.

Linux can also normally get better battery life because it can truly spin down the hard disk almost completely where Windows can not and does not, along with some other issues like that.

My best advice ( although I'm on Arch most of the time and don't know Ubuntu's packages by heart, or whats installed by default ) is to make sure you have your disks spin down when not in use, display dimm when not in use and turn off a few minutes later ( basic dpms features ).

When I first got my Dell it's Windows install had estimated 6 hours of battery life ( factory estimate was 8 ), didn't keep Windows on it long than the first boot to grab a couple of files. My Arch installs get 8-9 hours of battery life ( with a 66% capacity as of now ) with no problem.
post #4 of 4
Quote:
Originally Posted by Shrak View Post

The CPU Governer is normally set to on demand which is generally the best i.e. speeds up when you need it and downclocks when you don't. The only problem then is when the CPU is being used it'll speed itself up, even if you aren't the one directly using the CPU ( like some reports of people's installs just running unusually high on cpu usage ). But if you can iron out those issues then it's no problem.
Linux can also normally get better battery life because it can truly spin down the hard disk almost completely where Windows can not and does not, along with some other issues like that.
My best advice ( although I'm on Arch most of the time and don't know Ubuntu's packages by heart, or whats installed by default ) is to make sure you have your disks spin down when not in use, display dimm when not in use and turn off a few minutes later ( basic dpms features ).
When I first got my Dell it's Windows install had estimated 6 hours of battery life ( factory estimate was 8 ), didn't keep Windows on it long than the first boot to grab a couple of files. My Arch installs get 8-9 hours of battery life ( with a 66% capacity as of now ) with no problem.

I've heard a lot of argument for the On demand governor being the "best" but when I'm using it I shave off a bit (something like 10-30 minutes) of battery life. I don't know how come it does it but on every laptop I've tried Linux on it's that way. My only explanation is unreasonably high defaults for the voltage of the full clock state(as cpufreq-info reports the majority of time in on demand is split between idle or full speed). On the GPU side...well, in windows I had a lot more control (back when I had an Nvidia mobile gpu) so I could lock the GPU clock down to the lowest speeds and in Linux the best I could do was hope the adaptive setting wouldn't stay on full clocks for long. With Intel parts the battery life difference isn't as huge but it's still there.

I'm on 12.10 and I don't have any unusual CPU usage (though I wonder if Kubuntu counts since Canonical isn't "in charge" of it anymore?).

Where would we go about the hard disk spin down checking? I might not have that option as KDE pretty much makes all of your (that you mentioned Shrak) assumptions the defaults (IE on demand is the only governor it has set by default with no way to change it outside of cpufreq-set).
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
Reply
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Battery life and ubuntu....