View previous topic :: View next topic |
Author |
Message |
kappanose n00b

Joined: 17 May 2018 Posts: 12
|
Posted: Tue Jun 12, 2018 11:44 pm Post subject: High Wifi Card Power Usage |
|
|
My wifi card, as verified in powertop, constantly uses rought 6W of power, even when there isn't anything being downloaded/uploaded. The only way I can get this high usage to stop is by turning off my wifi card with ifconfig or something. I have read in other places that powertop isn't reliable for this sort of thing and generally the power values are rough estimates, but the next highest power-drainer is my display... at 630 mW, 10x lower than the wifi. I've tried using different network managers and just using wpa_supplicant, neither of which had an effect on this.
I'm using an Acer Aspire F5-573G with a QCA9377 wifi card and the ath10k_pci kernel module with kernel version 4.9.76. I can paste the output of dmesg/lspci/whatever here if it's relevant. Any suggestions would be appreciated! |
|
Back to top |
|
 |
eccerr0r Watchman

Joined: 01 Jul 2004 Posts: 10020 Location: almost Mile High in the USA
|
Posted: Wed Jun 13, 2018 12:03 am Post subject: |
|
|
At 6W, that thing should be somewhat roasting, is that part of the computer getting warm? I'm not sure I trust powertop numbers...
Usually only the CPU, GPU, and maybe chipset get warm... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
 |
khayyam Watchman


Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Wed Jun 13, 2018 6:45 am Post subject: |
|
|
kappanose ...
do you have PCIEASPM_POWERSAVE enabled? ... see linux wireless for more details.
You might also check powersave is set:
Code: | # iw dev <interface> get power_save |
or to set ...
Code: | # iw dev <interface> set power_save on |
HTH & best ... khay |
|
Back to top |
|
 |
kappanose n00b

Joined: 17 May 2018 Posts: 12
|
Posted: Thu Jun 14, 2018 5:21 pm Post subject: |
|
|
I have ASPM and powersave both enabled. |
|
Back to top |
|
 |
khayyam Watchman


Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Thu Jun 14, 2018 7:32 pm Post subject: |
|
|
kappanose wrote: | I have ASPM and powersave both enabled. |
kappanose ... well show us, because it (lspci) should show power/mA.
best ... khay |
|
Back to top |
|
 |
kappanose n00b

Joined: 17 May 2018 Posts: 12
|
Posted: Thu Jun 14, 2018 8:49 pm Post subject: |
|
|
lspci on wifi card:
Code: |
03:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)
Subsystem: Lite-On Communications Inc QCA9377 802.11ac Wireless Network Adapter
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 128
Region 0: Memory at b4200000 (64-bit, non-prefetchable) [size=2M]
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] MSI: Enable+ Count=1/8 Maskable+ 64bit-
Address: fee0100c Data: 4142
Masking: 000000fe Pending: 00000000
Capabilities: [70] Express (v2) Endpoint, MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us
ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 10.000W
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 256 bytes, MaxReadReq 512 bytes
DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <4us, L1 <64us
ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- CommClk+
ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Not Supported, TimeoutDis+, LTR+, OBFF Via message
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR+, OBFF Disabled
LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
Capabilities: [100 v2] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr+ BadTLP- BadDLLP+ Rollover- Timeout- NonFatalErr-
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
AERCap: First Error Pointer: 00, GenCap- CGenEn- ChkCap- ChkEn-
Capabilities: [148 v1] Virtual Channel
Caps: LPEVC=0 RefClk=100ns PATEntryBits=1
Arb: Fixed- WRR32- WRR64- WRR128-
Ctrl: ArbSelect=Fixed
Status: InProgress-
VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
Status: NegoPending- InProgress-
Capabilities: [168 v1] Device Serial Number 00-00-00-00-00-00-00-00
Capabilities: [178 v1] Latency Tolerance Reporting
Max snoop latency: 3145728ns
Max no snoop latency: 3145728ns
Capabilities: [180 v1] L1 PM Substates
L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
PortCommonModeRestoreTime=50us PortTPowerOnTime=10us
Kernel driver in use: ath10k_pci
Kernel modules: ath10k_pci
|
Output of iw:
Code: |
kappanose / # iw dev wlp3s0 get power_save
Power save: on
|
|
|
Back to top |
|
 |
khayyam Watchman


Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Thu Jun 14, 2018 9:30 pm Post subject: |
|
|
kappanose wrote: | Code: | LnkCtl: ASPM L1 Enabled; |
|
kappanose ... ok, so ASPM is enabled, and it looks like the current supplied is 375mA, which I would think would be about right.
best ... khay |
|
Back to top |
|
 |
kappanose n00b

Joined: 17 May 2018 Posts: 12
|
Posted: Thu Jun 14, 2018 11:52 pm Post subject: |
|
|
The thing is, I feel like I believe powertop getting vaguely correct values because when I turn off wifi altogether my estimated battery life more than doubles. After using my laptop for some time, the discharge rate suggests this too. Also, current isn't power |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|