Power Management

Go down

Power Management

Post  jonathan on Sat Feb 12, 2011 6:10 pm

Windows has always given me about 2:30 of battery but Linux usually swings 1:30. I've used the gnome and kde power managers, but I can't get anymore life out of my battery with Linux. Would anyone know how to get more battery life with Linux?

jonathan

Posts : 92
Join date : 2011-01-26

View user profile

Back to top Go down

Re: Power Management

Post  waynefoutz on Sat Feb 12, 2011 8:22 pm

I don't know which distro you are using. Ubuntu based distros have "laptop mode" that is disabled by default. Also when I'm in Windows, my ethernet port is turned off when it's not powered by the mains. You might want to look into that and see if your distro offers something similar.
avatar
waynefoutz

Posts : 117
Join date : 2011-01-28

View user profile

Back to top Go down

Re: Power Management

Post  jonathan on Sat Feb 12, 2011 8:45 pm

My distro is arch.

jonathan

Posts : 92
Join date : 2011-01-26

View user profile

Back to top Go down

Re: Power Management

Post  kaddy on Sun Feb 13, 2011 8:03 am

Jonathon...
Have you tried going into your power management settings on gnome or kde (whatever you use) and making adjustments to save power? if not, do that under kde or gnome

you can also use a program called "powertop" which identifies what programs are causing the most drainage and choose to disable them

http://www.lesswatts.org/projects/powertop/
avatar
kaddy
Admin

Posts : 248
Join date : 2011-01-26

View user profile http://linux4unme.forumotion.com

Back to top Go down

Re: Power Management

Post  jonathan on Sun Feb 13, 2011 4:52 pm

Is that laptop mode in linux mint?

jonathan

Posts : 92
Join date : 2011-01-26

View user profile

Back to top Go down

Re: Power Management

Post  waynefoutz on Sun Feb 13, 2011 5:26 pm

Mint is based on Ubuntu, so yes. Install laptop-mode-tools from synaptic. This is what I found on it:

http://ubuntuforums.org/archive/index.php/t-1464821.html

Since Lucid 10.04 laptop-mode-tools is deprecated and conflicts with standard packages.

To manually activate laptop-mode type:

sudo laptop_mode start

however this will only last until next reboot.

Laptop mode is disabled by default in Ubuntu. To enable it open terminal shell and type:

sudo gedit /etc/default/acpi-support

At the bottom of the file, there is ENABLE_LAPTOP_MODE variable, set this to true. A restart is required to enable this setting.

Read through this file to see some of the other options.

Ensure you have laptop-mode-tools installed:

sudo apt-get install laptop-mode-tools laptop-detect

Linux can use different power management profiles called “governors.” By default, Ubuntu does not allow you to change which governor it uses, however you can enable the option with one command:

sudo dpkg-reconfigure gnome-applets

After that, make sure you have the “CPU Frequency Monitor” applet running in your Gnome panel. Right click on the applet and go to the Preferences. Under “Frequency Selector” section, make sure the “Show menu” is selected on “Frequencies and Governors.”

Then you can left click on the applet and from here, choose which governors or frequencies to use.

You can change this via the command line without having to enable anything. Just go to /sys/devices/system/cpu/cpu0/cpufreq/ (if you have multiple processors/cores/hyperthreading change cpu0 to cpu1, cpu2, etc. for each cpu you have listed) and edit the file (use sudo) “scaling_governor”, just change the governor that is listed to whatever governor you want to use. Available governors are listed in “scaling_avail_governors”

man laptop-mode.conf

and edit /etc/laptop-mode/laptop-mode.conf

Consider installing also powertop which could easily help you reducing energy consumption by analyzing actual energy wasts and give you useful tips on how to save.

sudo apt-get install powertop



Also see this page:
http://linux.aldeby.org/linux-laptop-power-saving-customization.html


based on this, what I would do is I would install the package, then run

Code:
sudo laptop_mode start

to turn it on temporarily and see if it helps, or causes any conflicts. If it's beneficial, use the instructions above to enable it permanently.
avatar
waynefoutz

Posts : 117
Join date : 2011-01-28

View user profile

Back to top Go down

Re: Power Management

Post  Quids on Mon Feb 14, 2011 3:08 am

Anything like this available in Arch?
http://packages.ubuntu.com/maverick/acpi-support

Quids

Posts : 18
Join date : 2011-02-08

View user profile

Back to top Go down

Re: Power Management

Post  jonathan on Mon Feb 14, 2011 4:37 pm

You actually have a few options. I think I'll look into the laptop mode tools and see what I can do.

jonathan

Posts : 92
Join date : 2011-01-26

View user profile

Back to top Go down

Re: Power Management

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum