You are not logged in.

#1 2012-03-13 07:13:53

nachiappan
Member
From: Raleigh, NC
Registered: 2011-11-13
Posts: 25

Battery Issue

Hi All,

I found out that my Arch sucks battery, I get ~4 hours in windows and ~1.5hours in Arch, which is a huge difference.
Few things which I tried
1. changed the Scaling governor to ondemand as suggested in https://wiki.archlinux.org/index.php/CP … cy_Scaling
2. installed pm-utils, it correctly detects switch from AC to DC and from DC to AC and runs the scripts appropriately, confirmed by looking at /var/log/pm-powersave.log
3. Tried suggested things in https://bbs.archlinux.org/viewtopic.php?id=134109&p=1
4. Tries suggested things in http://crunchbanglinux.org/forums/post/110148/#p110148

After all these still I dont see a difference. Also my laptop fan seems to run at full speed all the time, even when the system is idle !!
Powertop didnt help. Can you some one please help me out with this issue ?

Thanks,
Nachi

Offline

#2 2012-03-13 07:55:34

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: Battery Issue

Do you have a hybrid graphics card?

lspci -vvv

might be useful, for us to start with.

Offline

#3 2012-03-13 14:29:00

nachiappan
Member
From: Raleigh, NC
Registered: 2011-11-13
Posts: 25

Re: Battery Issue

lspci -vvv produced a huge output, sorry i was not sure what to look for..
I have pasted the whole output in the this link : http://pastebin.com/7W2ZqNyP
Please let me know if this is enough.

Offline

#4 2012-03-13 15:23:57

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: Battery Issue

You might be one of the people who shall benfit from ASPM power fix, which lands on 3.3 linux kernel.
But even then I dont think you might expect power consumption as compared to windows. It might get better but definitely not ~4 hrs.

someone has tried some steps here to get ASPM fix, in the current kernel.

Last edited by hadrons123 (2012-03-13 15:24:21)

Offline

#5 2012-03-14 05:14:43

nachiappan
Member
From: Raleigh, NC
Registered: 2011-11-13
Posts: 25

Re: Battery Issue

Is there something else which I can try in the mean while waiting for the official 3.3 kernel release ?

Offline

#6 2012-03-14 06:55:30

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: Battery Issue

The ASPM patch can be manually applied, or install mainline 3.3.rc 7 kernel from AUR. other than that no more ideas.

Offline

#7 2012-04-09 20:27:30

nachiappan
Member
From: Raleigh, NC
Registered: 2011-11-13
Posts: 25

Re: Battery Issue

@hadrons123
Arch has moved to 3.3 kernel and even after updating I dont see a difference in my power consumption.
Is ASPM patch part of the new kernel 3.3 ?

Offline

#8 2012-04-10 01:41:30

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: Battery Issue

nachiappan wrote:

@hadrons123
Arch has moved to 3.3 kernel and even after updating I dont see a difference in my power consumption.
Is ASPM patch part of the new kernel 3.3 ?

Yes.

Check your dmesg if aspm is enabled.
If it is enabled and still you have battery issues, I don't know what else to do.

Offline

#9 2012-04-10 01:52:58

nachiappan
Member
From: Raleigh, NC
Registered: 2011-11-13
Posts: 25

Re: Battery Issue

Thanks hadrons123
i checked dmesg and found the below line
ACPI _OSC control for PCIe not granted, disabling ASPM - so I guess ASPM is disabled, is my understanding right ?

Regards,
Nachi

Offline

#10 2012-04-10 01:56:43

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: Battery Issue

Yes.
try enabling aspm by force.

Offline

#11 2012-04-10 02:03:32

nachiappan
Member
From: Raleigh, NC
Registered: 2011-11-13
Posts: 25

Re: Battery Issue

How should I enable ASPM forcefully ?
Should it be done with the help of the patch mentioned in https://bbs.archlinux.org/viewtopic.php?id=136989 ? I thought this was the fix delivered in kernel 3.3
or is there a simpler way ?

Regards,
Nachi

Offline

#12 2012-04-10 02:18:27

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: Battery Issue

try to append pcie_aspm=force to your kernel options in grub.

Offline

#13 2012-04-10 06:51:39

nachiappan
Member
From: Raleigh, NC
Registered: 2011-11-13
Posts: 25

Re: Battery Issue

Hi hadrons123,

Sorry one more question, I was looking on google where exactly to set the aspm = force,
most of the search results asks to edit /etc/default/grub file but in my Arch i dont find any such file .. is it located else where is Arch ?

Offline

#14 2012-04-10 07:16:54

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: Battery Issue

arch uses grub not grub2,as default. Read the man page on grub. i hope you can figure out.

Offline

#15 2012-05-13 00:30:17

nachiappan
Member
From: Raleigh, NC
Registered: 2011-11-13
Posts: 25

Re: Battery Issue

Hi All,

@hadrons123 : I tried adding the pcie_aspm=force option to the kernel parameters and even this doesnt seem to solve the problem.
Still the battery gets drained very soon.

Offline

#16 2012-05-14 04:00:23

nachiappan
Member
From: Raleigh, NC
Registered: 2011-11-13
Posts: 25

Re: Battery Issue

Is there no solution to this other than living with this battery issue ?

Offline

Board footer

Powered by FluxBB