stockmind / dell-xps-9560-ubuntu-respin

Collection of scripts and tweaks to adapt Ubuntu and Linux Mint ISO images to let them run smooth on Dell XPS 15 9560.
346 stars 155 forks source link

High idle power usage #50

Open DanielPerezJensen opened 5 years ago

DanielPerezJensen commented 5 years ago

So I installed ubuntu 18.04 some time ago with this respin, and it has worked wonders. But recently I have been noticing high power consumption even when idle, so I ran sudo powertop and discovered this line: 17.9 W 4,8 pkts/s Device Network interface: wlp2s0 (ath10k_pci) This device seems to be drawing a whole lot of power, so I figured it must be the video card. So I ran the scripts as provided in #8 but this does not seem to work properly. As the device still is taking some 20 W. What could be the issue here? Am I correct in assuming it is the video card? I have run sudo prime-select intel.

I recently installed CUDA and CDNN from nvidia because I wanted to use the tensorflow-gpu module. The issues have popped up after this, I believe it has something to do with this but not sure. I followed this tutorial to get it working: https://medium.com/@taylordenouden/installing-tensorflow-gpu-on-ubuntu-18-04-89a142325138.

Any help is appreciated as 3 hours battery life is quite annoying.

stockmind commented 5 years ago

The line you posted refers about the network interface = Device Network interface ... ath10k_pci

This seems the same issue: https://askubuntu.com/questions/888430/network-interface-of-dell-xps-13-9360-consumes-too-much-power/896042

Also those powertop values doesn't seems absolutely reliable

mjo22 commented 5 years ago

Any update on this issue @DanielPerezJensen? Thinking about upgrading from 16.04 to 18.04 but want to make sure CUDA will run smoothly and not impact battery life.

DanielPerezJensen commented 5 years ago

@mjo22 My battery life is now better than when I posted, I get some 7-8 hours now when running on the processor as opposed to the video card. I basically reinstalled Ubuntu with this respin because of another unrelated issue and it seems to have "fixed" itself. Sorry if this doesn't really help but I have not had any issues since doing that.