5

I have Asus TransformerBook TP500LB. Very good laptop - i5 5200U, 8GB RAM, nV 940M, ...

But, when I run windows10, my battery life is somewhere about 6-7hours (very low brightness and no gaming as well). In task manager I can see, that CPU frequency is scaling - I guess from 0.8GHz to 2.4 or something like that. But most of the time it is from 0.8-1.5. I guess that is why it has so long battery life.

On Ubuntu 15.04, the CPU never gets below 2GHz (I thing 2.2 all the time) and battery life is 3-4hours.

I installed TLP, tried googling some info about change CPU frequency because I believe this is the biggest problem (CPU runs on very high frequency and consums very much battery) but I didn't find good solution and nothing gets changed.

Any ideas?

kubrdom
  • 73

1 Answers1

7

TLP needs to be configured. Run the following command to edit your /etc/default/tlp file:

sudo nano /etc/default/tlp

Now, locate the lines:

#CPU_SCALING_GOVERNOR_ON_AC=performance
#CPU_SCALING_GOVERNOR_ON_BAT=performance

Uncomment these lines (remove the #) and change performance to powersave like this:

CPU_SCALING_GOVERNOR_ON_AC=powersave
CPU_SCALING_GOVERNOR_ON_BAT=powersave

Press CTRL + o and then press ENTER to save the file. Press CTRL + x to exit nano.

Restart tlp to apply the changes:

sudo service tlp restart

You may want to consider disabling pstate. intel_pstate only allows "performance" and "powersave". Disabling pstate allows the "ondemand" option which scales down the frequency when not in use and clocks up when there is more demand. See here for more info. Using the options and configuration mentioned in that post on my i3 2.4Ghz, in combination with the "ondemand" indicator-cpufreq setting, my processor idles about 1.2Ghz instead of the typical 2.1Ghz it is when set to "performance". On "powersave" it idles at about 8Ghz.


For your fan.

After installing Ubuntu, you should run a few commands to properly detect your temperature sensors. Run the following commands:

sudo apt-get update
sudo apt-get install lm-sensors
sudo sensors-detect

Answer "yes" to all the options.


For you Nvidia processor, you can install the proprietary drivers.

First open the Ubuntu Software Center, click on Edit, select Software Sources, then select Additional Drivers and select the recommended nvidia proprietary driver that is marked tested.

For your intel graphics, run the following commands:

sudo apt-get update
sudo apt-get install i965-va-driver libdrm-intel1 libvdpau-va-gl1

Additionally, to view accurate realtime stats for your processor in the terminal, install i7z:

sudo apt-get install i7z

To run i7z:

sudo i7z

Press CTRL + C to stop.

Alternatively, to view both physical and logical frequencies, run this instead:

watch -n 0.5 cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq

Again, press CTRL + C to stop.

mchid
  • 44,904
  • 8
  • 102
  • 162