You are not logged in.

#1 2010-12-01 00:27:09

Aeva
Member
Registered: 2010-12-01
Posts: 29

[SOLVED]CPU frequency lower when on battery

Hi!

I've been using Arch for a month or two now, and am running awesome WM with laptop-mode-tools, cpufrequtils and pm-utils for powersaving on my laptop. I've got most of it figured out already, like governor switching and stuff, but there's this one thing that intrigues me.

My CPU frequency range is 800MHz - 1.80GHz, and this works just fine on AC. But whenever i unplug and go on battery, suddenly my "current policy" reports that the frequency should be within 800MHz - 800MHz. This remains the same for the conservative, ondemand and performance governors.

I've been doing some research and thought it had to do with the acpi handler script, so I appended the lines "echo -n $minspeed >$setspeed" and "echo -n $maxspeed >$setspeed" from the AC case statement to the battery case statement, but this hasn't changed anything it appears.

I also tried disabling the laptop-mode and removing it from my rc.conf, and switching to the cpufreq daemon instead, but this was to no avail either.

Is there any way of changing this at all? Or is it simply meant to be like this?

In advance, thank you very much for the help :)

Last edited by Aeva (2010-12-02 21:54:31)

Offline

#2 2010-12-01 00:41:55

CountDuckula
Member
Registered: 2010-02-28
Posts: 151

Re: [SOLVED]CPU frequency lower when on battery

Suggest you might check your power setting modes in BIOS to see if CPU speed under battery power mode is set there.

Offline

#3 2010-12-01 06:56:46

Aeva
Member
Registered: 2010-12-01
Posts: 29

Re: [SOLVED]CPU frequency lower when on battery

In the BIOS I only have the option to enable/disable AMD powernow. If I turn it off it doesn't change anymore, but of course, the powernow-k8 module doesn't load anymore either.

I guess that I'll have to deal with it then, thank you though, it's good to know the cause.

Offline

#4 2010-12-02 18:53:29

sati
Member
Registered: 2008-03-12
Posts: 22

Re: [SOLVED]CPU frequency lower when on battery

Try adding 'processor.ignore_ppc=1' to your kernel boot line in grub.

Offline

#5 2010-12-02 21:41:30

Aeva
Member
Registered: 2010-12-01
Posts: 29

Re: [SOLVED]CPU frequency lower when on battery

Yeah, that fixed it!
Thank you so much! ^^

Offline

#6 2010-12-02 21:52:03

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [SOLVED]CPU frequency lower when on battery

Please mark your thread solved by prepending it to the title Aeva. smile


ᶘ ᵒᴥᵒᶅ

Offline

#7 2010-12-02 21:54:48

Aeva
Member
Registered: 2010-12-01
Posts: 29

Re: [SOLVED]CPU frequency lower when on battery

Done. smile

Offline

Board footer

Powered by FluxBB