kfechter / LegionY530Ubuntu

Guide for installing Ubuntu on the Legion Y530
GNU General Public License v3.0
177 stars 32 forks source link

Running Ubuntu is draining the battery very fast #61

Closed ghost closed 5 years ago

ghost commented 5 years ago

Im just using google chrome in ubuntu, my battery will be drained about 3 times faster than im using google chrome in windows 10.

For example, running google chrome in ubuntu took 1 hr 15 min to completely drained the battery but running google chrome in windows 10 took about 4 hr..

How to solve this issues, as i installed tlp in ubuntu.

kfechter commented 5 years ago

Do you have the nvidia drivers/ nvidia-prime packages installed.

does the command prime-select query return output? If not, the machine will constantly be running the nvidia GPU and the nvidia gpu will give between 1 and 1.5 hours of battery life.

ghost commented 5 years ago

the returned out was NVIDIA

ghost commented 5 years ago

Okay, i switch it back to intel using sudo prime-select intel, let me observe the battery life and usage.

kfechter commented 5 years ago

I would do a reboot after the prime select just to be safe. Sometimes it doesnt always switch immediately even though it is supposed to.

ghost commented 5 years ago

Yes, i did a reboot. But what is the correct way of install TLP, is using this command? sudo apt install -y tlp tlp-rdw, as im new to ubuntu, not quite sure how to setup tlp.

kfechter commented 5 years ago

Yeah. That is correct. I've installed tlp, but I've never really figured out how to configure it.

kfechter commented 5 years ago

what is the output of the following command cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

ghost commented 5 years ago

Sudo prime-select intel will retain battery life, thank you @kfechter

dush1729 commented 5 years ago

@liho00 after using the given command, my external monitor is not detected. Please help.

kfechter commented 5 years ago

In intel mode, you cannot use external monitors. Only in nvidia mode as the display outputs are attached to the nvidia gpu

dush1729 commented 5 years ago

@kfechter thanks for the quick response. Now the issue I'm facing is if I revert back to prime-select nvidia then I get blank screen after login and if I use prime-select intel then I'm able to login and change brightness but same external display issue exists in this mode.

dush1729 commented 5 years ago

I'm facing this issue Lenovo legion Y540 with Nvidia rtx 2060 graphics.

kfechter commented 5 years ago

Interesting. Now I'm wondering if the drivers dont fully support the RTX 20 series. I dont have any machines that I can test this on unfortunately.