Тёмный

Increase Battery Life on Linux... 

Michael Horn
Подписаться 35 тыс.
Просмотров 36 тыс.
50% 1

► Follow me!
𝕏 ►► x.com/@MichaelNROH
📷 Instagram ►► / @michaelnroh
🐘 Mastodon ►► mastodon.social/@MichaelNROH
🤖 Discord ►► / discord
#️ Matrix ►► matrix.to/#/#michaelnroh-community:matrix.org
▶️ Second Channel ►► / nr0hofficial
----------------------------------------------------------------------------------
► Get exclusive benefits by joining our Community ❤️
Join ►► / @michaelnroh
----------------------------------------------------------------------------------
► Links:
DNF equivalent: Debian / Ubuntu ►► ubuntu.com/server/docs/packag...
DNF equivalent: Arch ►►wiki.archlinux.org/title/pacman
Configuring ►► TLP linrunner.de/tlp/usage/tlp.ht...
Download ►► auto-cpufreq github.com/AdnanHodzic/auto-c...
(* All Amazon Links are affiliated. That means that I get a small cut of revenue if you buy something, without any additional costs.)
----------------------------------------------------------------------------------
🎵 Music from StreamBeats by Harris Heller.
----------------------------------------------------------------------------------
► Chapters:
00:00 - Battery Life on Linux
00:29 - Increasing Battery Life with TLP
01:36 - Setting up TLP
03:28 - Configuring Bluetooth, WiFi, NFC, etc.
04:30 - Activate VAAPI Hardware Acceleration
05:39 - Introducing "auto-cpufreq"
07:23 - Why don't Linux Distros not come with it by default?
08:08 - Conclusion
----------------------------------------------------------------------------------
► Description Tags:
linux battery life, linux battery life optimization, linux battery drain, battery life linux, battery drain linux, linux tlp tutorial, tlp linux battery, linux better battery life, auto cpufreq, auto-cpufreq vs tlp, linux on laptop, linux on laptop battery life, michael horn
----------------------------------------------------------------------------------
#linux #opensource #tutorial

Игры

Опубликовано:

 

25 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 175   
@clankfish
@clankfish 4 месяца назад
wow the timing for this is crazy, just got a steal of a deal on a thinkpad the other day, first time using linux on a laptop in a long time. this will be helpful :))
@dh5680
@dh5680 4 месяца назад
based pfp
@arthurbalejo215
@arthurbalejo215 Месяц назад
ubuntu?
@clankfish
@clankfish Месяц назад
@@arthurbalejo215 ive been hopping around really. arch, lmde, nixos. i'm still not really sure what i want to do with this laptop, lol
@BrianJones-wk8cx
@BrianJones-wk8cx 4 месяца назад
This is a godsend for my Thinkpad z13 running Bazzite. The device had been having sleep issues (as in the device would never suspend no matter what I did), but this fixed the issue immediately-sleeps like a baby now! Thank you!
@MINI_91
@MINI_91 4 месяца назад
I really appreciate your tips, Michael. As a newcomer to Linux it is nice to have these things demonstrated and explained and learn more about Linux along the way.
@randydator4848
@randydator4848 2 месяца назад
Incredibly well put together video! Very clear explanations why we are installing certain things, giving tips for different kinds of devices... Can't imagine a better tutorial, thanks a lot! :D
@xperience-evolution
@xperience-evolution 4 месяца назад
Auto-cpufreq is an absolute powerhouse. I got more battery life than on Windows by around 20%. And the great thing about it. It gives you the power if needed (Games or other heavy tasks). Plus my Fans are just off pretty much all the time. Was quite loude on Windows even in power saving mode.
@3gsahil
@3gsahil 4 месяца назад
You literally published what I discovered via my own extensive research ! Kudos ! BTW I currently I am not using any of these programs . But I plan to , for now gnome-power / pop os power daemon ( or whatever that is ) feels enough for me .
@sheldonkupa9120
@sheldonkupa9120 4 месяца назад
Yes, exactly. Pop OS system-power is good enough on my notebooks without any hazzle. You can do better, but it means hard work!
@ariel_chess
@ariel_chess 4 месяца назад
This is my 1st concern with my laptop! Thank you!
@clusterguard
@clusterguard 3 месяца назад
VERY GOOD AND CLEAR ENGLISH. BEST FROM GREENLAND AND THANK YOU!
@abdoulkarimsaliah8412
@abdoulkarimsaliah8412 3 месяца назад
Thank you sincerely. Autocpu was amazing but it couldn't support battery switching as I have a dual battery configuration. That's the first time I installed TLP so efficiently and it resolve the problem. Thank you!
@turtleidiot3324
@turtleidiot3324 4 месяца назад
my laptop already had a 50% increase in battery since juming from windows to arch. it's gonna last me for ages now
@AlonsoHeadbang
@AlonsoHeadbang 4 месяца назад
This is amazing content, thanks a lot for this! Will try them on my Slimbook laptop I recently got and was a bit curious about it's battery life (it has an Intel cpu)
@isaacshiellsthomas992
@isaacshiellsthomas992 4 месяца назад
This video felt really professional and informative. I will definitely be giving it a shot. I love how you helped guide through the package manager search process and the process to make the program start on boot. It was very clear and concise, while not wasting any time for those who are already familiar with the process. I will definitely be adding this to my arsenal of videos to help my friends that are interested in Linux. Great video, keep up the great work!
@mind-blowing_tumbleweed
@mind-blowing_tumbleweed 3 месяца назад
This was very helpful, thank you.
@robonator2945
@robonator2945 4 месяца назад
One thing to note is that I'm personally convined a lot of battery monitors don't exactly tell the truth. I have my laptop set to only charge to 80% for longevity, but I've noticed if it's turned off and thus charges to 100% (since linux isn't telling it to stop charging at 80) then the battery will last for *_waaaay_* longer. If it stops charging at 80 it'll get a few hours of use, but if it does charge to 100 it feels like the battery life doubles. I feel like a lot of battery monitors are probably configured to just straight up lie about the battery for some reason.
@MichaelNROH
@MichaelNROH 4 месяца назад
Depends on what the battery itself reports. An operating system can only take that info
@spicynoodle7419
@spicynoodle7419 4 месяца назад
Just *cat /sys/class/power_supply/BAT1/capacity* if you don't trust GUIs
@robonator2945
@robonator2945 4 месяца назад
​@@spicynoodle7419 that wouldn't change anything, that's still probing the hardware battery monitor. If the battery monitor itself is lying it'd be impossible to tell that from the OS itself.
@ons9
@ons9 4 месяца назад
Is it a Thinkpad you're using by any chance? Whenever I use tlp settings or configure tresholds through Lenovo Vantage I've noticed the exact same behavior. It would randomly start dropping a fair amount of charge aswell (say from 40% straight to 5% for example). Turning tlp/tresholds off, charging it to 100% and leaving it charging for a couple of hours fixed this though, so whenever it starts drifting again I repeat.
@robonator2945
@robonator2945 4 месяца назад
​@@ons9 asus vivobook, but now that you mention it I forgot about it but yeah, for the next few following charges it would also last longer. Typically I don't use my laptop unplugged enough to care (hence why I wanted to make sure it's not kept at 100% all the time and charge limit it) so I forgot about it, but yeah, same thing.
@esra_erimez
@esra_erimez 4 месяца назад
I love this channel. I always learn some thing useful.
@MmntechCa
@MmntechCa 4 месяца назад
Very informative. I ran vainfo on my desktop after noticing CPU usage was a bit high while watching videos. The VA-API driver wasn't installed. You'd think Nobara of all distros would have set that up automatically. Will be useful once I finally get my laptop ported over to Linux.
@helgiles
@helgiles 2 месяца назад
Thank you, Michael!
@65svein
@65svein 4 месяца назад
Great tool for different use. i was install it 2 years ago for control of max charge to 80% for battery health. Great video to to refresh me about extended use what i was forget about.
@mahmoud1737
@mahmoud1737 4 месяца назад
Thank you for mentioning TLP because no videos say anything about it and when it comes to saving battery cpu frequency is not enough or the whole story of battery consumption. And i used tlp-ui helped me configure my settings to squeeze a bit more , and tlp has ability to have frequency and governor for battery and on charger and to use or not use boost , which is same as autocpufreq even more
@Redmage913
@Redmage913 4 месяца назад
Immediately bookmarked. Thank you!
@TriVoxel
@TriVoxel 4 месяца назад
Thanks bro!
@shrkwt
@shrkwt 4 месяца назад
Again; this is what I've been looking for on my laptop. Great minds do think alike!
@MichaelNROH
@MichaelNROH 4 месяца назад
So it seems 😅
@SIMULATAN
@SIMULATAN 4 месяца назад
Perfect timing haha, I just wrote reading notes in vim from the TTY to improve battery life
@JEgkt
@JEgkt 4 месяца назад
I've been using Ublue with Fedora Silverblue and with Asus kernels included, my average cpu usage hovers around 10-12%(youtube streaming) no tlp or cpufreq. And the good with Ublue it handles installing codecs and handles updates in the background. In the future i'll be installing to my family computers since all they do is just media consumption for the most part.
@rgbmew
@rgbmew 4 месяца назад
i dont even own a laptop i just love hearing you talk about linux honestly
@Karti200
@Karti200 4 месяца назад
for past 3 months i have been using my Arc on a distro that left me with no codecs? thanks for finding that help for me! xd
@UnicronPlanetMode
@UnicronPlanetMode 2 месяца назад
Just what i was looking for!
@Azeem_Idrisi
@Azeem_Idrisi Месяц назад
Greet video man! You got a sub ❤
@MichaelNROH
@MichaelNROH Месяц назад
Appreciate it
@arkabarua5494
@arkabarua5494 4 месяца назад
My MX linux installation has tlp by default and other softwares too. I am using a thinkpad and the battery life is much better than windows 10
@CLyffCL
@CLyffCL Месяц назад
¿Qué modelo?
@arkabarua5494
@arkabarua5494 Месяц назад
@@CLyffCL t450
@mohamad20zx34
@mohamad20zx34 4 месяца назад
Thanks my battery has increased after trying that tlp script
@sarcasticmcspastic
@sarcasticmcspastic 4 месяца назад
Yknow I just got my hands on a Thinkpad T450s for $45 with its unusual battery situation and this dropped at an amazing time
@DanielPichl
@DanielPichl 3 месяца назад
Thanks for this video - TLP indeed gives my notebook (Acer Swift 3 - SF314-511) much more battery life; especially the standby seems to work far better.
@anon_y_mousse
@anon_y_mousse 4 месяца назад
I was considering getting a laptop or something similar, so this is quite helpful. Have you ever used an Aya Neo or a GPD device?
@MichaelNROH
@MichaelNROH 4 месяца назад
Not yet
@OraOraOra
@OraOraOra 4 месяца назад
Great Video, as always! Hey unrelated: I love your "Is it Possible To Build Gnome in KDE Plasma?" - Video! You are so creative, do you think there will be a Part 2? I already tried Plasma 6 and it would be awesome, if you review it. I just converted to KDE, because some gaming related features and I really like the Devs. But I always liked the clean GNOME look and Keyboard centric workflow. I bet I'm missing out on so many great KDE Features and it would mean the world to me, if you share some tips n tricks, especially for GNOME users. Cant wait for Plasma 6's official release!
@MichaelNROH
@MichaelNROH 3 месяца назад
I'm gonna take a look once a stable distro releases it.
@shApYT
@shApYT 3 месяца назад
Latest version of TLP is 1.6.1 and it is not available on fedora due to conflicts with SElinux.
@nicolaslampreda5332
@nicolaslampreda5332 4 месяца назад
You never fail to bring something that's worth watching on your channel! Keep it up.
@MichaelNROH
@MichaelNROH 4 месяца назад
Thanks
@kierank01
@kierank01 4 месяца назад
I have framework laptop, running fedora kde, with TLP for quite a while. Was not aware of the driver part, will be interesting to see how much of a difference that will make Do you have any tips that might improve sleep battery life?
@tysonjohn444
@tysonjohn444 2 месяца назад
great video thank you!! can u please make another video on gpu drivers i have a macbook pro 2015 linux mint and youtube streams are cpu intensive as hardware acceleration doesnt seem to work but va info shows working codecs
@muslimgamerrr9479
@muslimgamerrr9479 29 дней назад
0:55 i love using the terminal im happy ;D
@lisovyy
@lisovyy 4 месяца назад
a bit off-topic - what is your experience with the touch screen on your MS Surface?
@bsp_learning7135
@bsp_learning7135 2 месяца назад
I replaced battery for my Dell laptop by myself at home... for 3 years I used my laptop with continuous power plug-in since battery would hardly last for 4-5 minutes.. lol. Now i will improve my battery life again... thanks
@esaedvik
@esaedvik Месяц назад
Mine bloated and bent the chassis after being plugged in for 3-ish years. Lucky it didn't explode and lucky the laptop works without a battery.
@burningpho3nix
@burningpho3nix 4 месяца назад
I actually know the tlp main dev personally 😅
@enderpirate9887
@enderpirate9887 4 месяца назад
What about TuneD? I find it very polished and at least on Bazzite it integrates well with the Power-Profiles-Daemon Plasmoid!
@razarjp
@razarjp 4 месяца назад
Great video, i use Fedora on my laptop and this is very helpful. But, i have a question, the intel-media-driver is in the RPMFusion repository?
@MichaelNROH
@MichaelNROH 4 месяца назад
This one might be, but there is another package which is similiar (libva-... something). The difference is, that one is developed by Intel (or contributed by) and one is community maintained
@razarjp
@razarjp 4 месяца назад
I see, ill look in to it, my laptop have hybrid graphics but its currently using the intel, only nvidia when run a game, and i watch a lot of video content (youtube, twitch) so i really need the vaapi working, thank you for let me know@@MichaelNROH
@kaziashrafulalam20
@kaziashrafulalam20 4 месяца назад
TLP-UI is much simpler and easy to use.
@timotiuswidjaja2792
@timotiuswidjaja2792 4 месяца назад
I've just installed Fedora Workstation 39 (KDE) on a 2021 Zephyrus G15. Holding off from installing tlp atm, documentation says you need to set SELinux permissive for it to work on Fedora 38+ :( I'm also scared that KDE's power management GUI, which needs power profiles daemon as a dependency, will reinstall it on system update even though I mask and disable power profiles before installing tlp. (New user coming from Windows, used to configs getting bricked by system updates) does anyone have info on this?
@emlyndewar
@emlyndewar 4 месяца назад
This is a great video.
@MichaelNROH
@MichaelNROH 4 месяца назад
Glad you think so
@ms1595
@ms1595 Месяц назад
On No Linux Distro I could write to the tlp_conf it was always write protected. Even killed one system when trying to change that
@OthoDaFe
@OthoDaFe 4 месяца назад
I hope this will work for a Surface with Fedora 38. Battery life dropped a lot compared to Win.
@ismatovsanjarbek
@ismatovsanjarbek 4 месяца назад
Thanks a lot. This video is really helpful for me! Can I give a new challenge? Can you create a video about sleep states(s0,s1...), how to change them, how to determine which is running and compatibility for cpus. For example in my amd(ryzen 5500u with radeon graphics) laptop, suspend mode doesn't work at all in every linux distro. I see freezing(doesn't resume at all unless I restart with manual long clicking power button) after suspend mode. I have to configure and it works, but I don't know whether it does properly or not.
@MichaelNROH
@MichaelNROH 4 месяца назад
I feel like that would kind of blow the scope of my typical content as it could get quite technical. Most probably don't even know that S-States are a thing, or that even something like Hibernating exists.
@ismatovsanjarbek
@ismatovsanjarbek 4 месяца назад
@@MichaelNROH okay, thanks for answering.I shouldn't have asked like that. You're a respectful person. Your contents are really interesting and your voice is cool. Keep it up, I'm your follower!!
@AndersHass
@AndersHass 4 месяца назад
Tuxedo has suggested RGB API for the Linux Kernel, maybe they could work in some power management too, lol.
@MichaelNROH
@MichaelNROH 4 месяца назад
If its beneficial for their laptops and there are enough maintainers, sure why not?
@AndersHass
@AndersHass 4 месяца назад
@@MichaelNROH I would think it is mainly beneficial in long term with the wider support it could bring (both on more hardware working but also more distros working), where in the short term it is probably easier to just make it work for their own hardware and distro. But ye it will also require there are enough maintainers.
@egg5687
@egg5687 4 месяца назад
Where did you get the information that you have to do sudo auto-cpufreq-install to have it run in the background? I couldn't find it on the github page for the project and the command also does not exist on my system. edit: Seems like it's actually sudo auto-cpufreq --install
@MichaelNROH
@MichaelNROH 4 месяца назад
Its a package that comes with auto-cpufreq when installing. The --install parameter probably does the same
@niamotullah99
@niamotullah99 4 месяца назад
Something i have been missing
@kbaeve
@kbaeve 2 месяца назад
Idk what happend but lately with OpenSUSE with KDE 6 and KDE Neon i got incredible battery life out of my Lenovo - way better then last few years. I heard someone said kernel was updated but idk I think Neon run older kernel
@MichaelNROH
@MichaelNROH 2 месяца назад
It's based on Ubuntu 22.04. Not sure if they patch their kernels manually though. In your case, it could also have been a QT5 bug which might be fixed with QT6. Who knows?
@kbaeve
@kbaeve 2 месяца назад
@@MichaelNROH I can't compare to QT5, as I havent run KDE In ages, now until Plasma 6. Been Gnome and mostly tiling wm. I heard it was some nice kernel optimizations for intel chipsets, so my guess this is why I suddenly getting so much better battery performance :)
@tusharsnx
@tusharsnx 4 месяца назад
Cheers! Now you can use your linux 15 mins more.
@pagundu
@pagundu 4 месяца назад
My laptop is wired in for the most of the time 😂
@wixlogo
@wixlogo 4 месяца назад
btw Micheal are you running an firewall to your Fedora install? UFW or Firewalld?
@MichaelNROH
@MichaelNROH 4 месяца назад
The default one, not sure what it is. I don't use any firewall configurations in my internal network besides my Server
@wixlogo
@wixlogo 4 месяца назад
by default, on fedora (or actally every distributions like mint, ubuntu, etc. firewall is turned off by default lol, so most of the people are not using any firewall config. but i do, you do a video on it Micheal, to tell people, and also teach them how to config one, its very simple and easy with UFW )@@MichaelNROH
@konstantink07
@konstantink07 4 месяца назад
firewalld then
@bhargavjitbhuyan9394
@bhargavjitbhuyan9394 4 месяца назад
Yaaaaaa! This is the video I needed. Biggest battery life offender are Fedora Manjaro with 6.7 kernel (6.6 is OK).
@setaindustries
@setaindustries 4 месяца назад
Don't you mean Fedora with Gnome? In my experience I get okay battery life with Fedora when using Hyprland, but I actually don't know if Fedora is power hungry or not.
@bhargavjitbhuyan9394
@bhargavjitbhuyan9394 4 месяца назад
@@setaindustries I mean fedora with kde. I don't like gnome so much. It looks bad to me. I guess it is ok but hyprland? Oh boy! It is stupid. It is not a desktop environment. Not easy to use. Also, I get too many dropped frames in fedora while playing RU-vid videos at 1080p60. I used flatpak, snap, appimage rpm. Whatever! It doesn't provide proper video hardware acceleration. I have hardware acceleration. Even my integrated graphics are better than some laptop gpus.
@theairacobra
@theairacobra 4 месяца назад
@@bhargavjitbhuyan9394 WMs take practice to use, but when I switched from popos's GNOME to bspwm and configured it myself its much easier
@manuelrivera6778
@manuelrivera6778 4 месяца назад
There are different configurations to take into account when dealing with either AMD or Intel CPUs. I’m still learning and so far until now it appears that TLP + Autocpufreq is best suited for Intel while power-profiles-daemon is best suited for AMD. Out of all distros regarding laptop batter life, so far it appears that Pop OS is best configured for this goal. Now I will say the following, until we can go back to being able to physically and easily remove or replace our laptops batteries like in the late 90s to early 2Ks it’ll be difficult to further expand our laptops battery life until then. Batteries tend to continue depleting even while the device is OFF which is why is usually recommended to remove the battery when no longer using the device.
@MinusStar96
@MinusStar96 4 месяца назад
TLP doesn't work well with Fedora 38 and later as stated in the documentation because of SELinux. I think for Fedora it's better to keep power-profiles enabled. For me powertop made a bigger difference for my Intel laptop (XPS 15 7590) and gives me around 1.8W on idle with bluetooth disabled. With bluetooth it hovers between 3-3.5W. With Arch + GNOME it's even better where GNOME Power statistics gave me 0.9W on idle without bluetooth!
@MichaelNROH
@MichaelNROH 4 месяца назад
I think that's a myth or had already been patched. TLP is a necessity on my surface, since last I tried it without (when upgrading to Fedora 39), my typical duration dropped from 9 hours down to 4. Power profiles don't seem to play well on my hardware
@felderup
@felderup 4 месяца назад
one of the things that had me happy was suspend to disk, i wish more hardware supported it. shutting my laptop down and putting it in my pack, starting where i left off, using zero power, saving state even if the battery outright died, grand.
@aMartianSpy
@aMartianSpy 4 месяца назад
Was that gedit editing /etc/tlp.conf and asking for sudo password when saving file?
@MichaelNROH
@MichaelNROH 4 месяца назад
It's the default Gnome Text editor
@John7No
@John7No 4 месяца назад
TLP, power top, auto-cpu-freq etc A user should not have to go into that path. The power profiles on Gnome, KDE etc should take care of that. or some power manager tool that would be universal. Yes a power user will use and do deep dive on those, but many people don't care or more important do not want to spend time on something that should be there by default nice video though
@MichaelNROH
@MichaelNROH 4 месяца назад
It's not that easy to include stuff like that, as it is considered quite unstable sadly. I'm actually not really sure how to do it properly. The Windows route would be to download specific drivers, but that isn't really something that's good
@John7No
@John7No 4 месяца назад
@@MichaelNROH indeed not easy, but power management in linux is something that causes poor battery and hence bad reputation for many. I wish there was a straight forward way for this
@cyangalaxy
@cyangalaxy 4 месяца назад
The Chromium team openly stated they don't support GPU video decode/encode on Linux, tho they have partially working GPU video decoding/HW acceleration through VA-API, though it isn't consistent. Depends on GPU + GPU driver + whether you use Chromium or Firefox. It's best to check if it's *actually* working with Mission Center and specifically checking if "Video decode" shows activity while playing a video. Flatpaks use their own dependencies/libs, not that of the system. For example, for my AMD desktop GPU, only Firefox can GPU video decode, none of the Chromium browsers can. Tho if you play e.g. only 720p video, GPU vs. CPU decode isn't much of a difference I think. GPU decode is more important @ higher res. With "cpupower" and using the command "sudo cpupower frequency-info" you can check the CPU frequency-scaling driver in use. Best to be using the cpu-frequency scaling driver "intel_pstate" / "amd_pstate" over the generic "acpi_cpufreq". The tool also supports Downclocking (limiting the max. CPU-frequency). CPU wattage can be checked with "turbostat". I generally like slight downclock + undervolt on CPU, RAM, GPU, just to reduce heat and increase efficiency alone, even if i'm on a PC.
@MichaelNROH
@MichaelNROH 4 месяца назад
The issue with hardware acceleration nowadays is, that some checks can be wrong. Many use flatpaks (including myself) which shows that hardware acceleration is working. But in reality its not, since the backend (actual system drivers) are not there. I discovered this by accident since the battery drainage felt odd.
@cyangalaxy
@cyangalaxy 4 месяца назад
​@@MichaelNROH Hm makes sense. It's apparent to me though that the Chromium team has put us Linux users by the wayside and only do the bare minimum for compatibility. It only got Wayland because of the consultancy Igalia and its VA-API support is (seemingly) less reliable than Firefox. Also font-rendering seems better on Firefox. I'm not biased towards either engines tho. Mozilla have got their own internal problems, especially in regards to their very questionable finance...
@rautamiekka
@rautamiekka 3 месяца назад
Laptop Mode Tools ?
@diuran1919
@diuran1919 3 месяца назад
It is possible to run auto-CPUfreq with standards CPU clock , not turbo mode ?
@MichaelNROH
@MichaelNROH 3 месяца назад
If you configure it manually yes.
@Svenlaa
@Svenlaa 4 месяца назад
But what does it do? What optimizations does it apply and how does that help. I understand that your target audience is people tat are new to Linux (using graphical whenever possible, scared of terminal) and that's why I think it's good to teach people how their devices work. You could also have a section at the end, but that might decrease retention.
@MichaelNROH
@MichaelNROH 4 месяца назад
Details are better looked up manually in their documentation. Explaining all the settings would take up 15 minutes by itself probably
@michadybczak4862
@michadybczak4862 4 месяца назад
The problem I have with this video is that it just brushes off TLP config. Aside startup radio devices, you only mention that defaults are usually enough. But what those options really do? There is documentation, but it doesn't tell exactly what are possible consequences when things go wrong, where one option may be better than the other and why. For non-technical persons, those config options sound like something familiar but without knowing what those are and how they are connected with various system and hardware elements, it's hard to tell anything. Basically, one would have to understand how hardware and system works to decide if it is worth to disable or set something. Another thing I miss in the video is the list of possible energy drain sources and what is worth to optimize. Well, you did mention a few, but it's hardly a complete list. On the other hand, the topic is too complex for one video. In general, the video is a good entry to the topic, but it's not informative enough for some who really want to deep dive into the topic, or those who try to debug various power-related hardware issues, like suspending or hibernating laptop, ACPI and others. As to battery on Linux vs. Windows, my experience shows that it's the same on one or the other.
@mateuszjuszczykowski6819
@mateuszjuszczykowski6819 4 месяца назад
Just checked TLP 1.6's notes for fedora38, and as for the time being it has some serious gaps. RDW doesn't work as well as automatic AC/bettery profile changing. That's a big no-go for me. Strangely enough, video is showing TLP on this exact system. Will definitely check it out in the future, but as for now, it lacks some main features for me.
@AdrielVelazquez
@AdrielVelazquez 4 месяца назад
I saw the same call out. I'm still trying it out and see what happens
@mateuszjuszczykowski6819
@mateuszjuszczykowski6819 4 месяца назад
@@AdrielVelazquez ultimately I gave it a go, and guess what? It does change profiles and rdw seems to work. What a surprise haha
@truck.-kun.
@truck.-kun. 4 месяца назад
​@@mateuszjuszczykowski6819I tried it on fedora 39 kde. It does not work. If you check systemctl status tlp, it says active(exited) or something similar (I don't recall)
@ivobrick7401
@ivobrick7401 4 месяца назад
TLP we have in software manager. But for some reason it is split to a program and then Gui - which is on flathub. Does this mean program is not autoupdated but gui is? Makes no sense, i hope they fix it, or get together more.
@MichaelNROH
@MichaelNROH 4 месяца назад
Those two applications are independent from one another. TLP is the thing that does the heavy lifting, while the GUI is just an application exposing the values into some menus. Both are updated normally like system updates, though they might not release at the same time. The TLP-UI is not being developed by the same people behind TLP.
@truck.-kun.
@truck.-kun. 4 месяца назад
Most things in Linux don't even have a gui. But someone made one (or maybe a collaborative effort) just for setting the config file more easily. The gui just modifies the config file and has no other functionality.
@guilherme5094
@guilherme5094 4 месяца назад
👍
@verpejas
@verpejas 4 месяца назад
Actually i found TLP worked worse for me than amd-pstate-epp with performance power sliders on plasma. I get 5-6hours with that as opposed to 3-4 hours on tlp with the same usage. It also added a power slider to my plasma battery widget panel, and i can switch between performance, balanced or powersave governors
@MichaelNROH
@MichaelNROH 4 месяца назад
Interesting find
@crocodilegamer93
@crocodilegamer93 3 месяца назад
Hardware acceleration doesn't work for my ati 5650 (with the h264ify extension).
@MichaelNROH
@MichaelNROH 3 месяца назад
Some distributions (e.g. Fedora) might not include the H.264 Hardware Acceleration outside firefox because they are afraid of licensing costs. If that applies and you actually want H.264 (which is mostly being replaced) then you can swap it with the "freeworld" version. Just search for Fedora (or whatever) swap to freeworld vaapi
@crocodilegamer93
@crocodilegamer93 3 месяца назад
@@MichaelNROH thanks I will try it out
@federicocalzoni3243
@federicocalzoni3243 4 месяца назад
Personally I wouldn't recommend auto-cpufreq. TLP is more complete and if you want to handle in a better way, the frequency of the CPU it's possible to do it by changinf the configuration of TLP. I personally created 3 profiles, and I can choose the one that I want from a terminal. Auto-cpu frequ changes the maximum frequency of the cpu by checking the load of the system. I would say pretty useless. Because if turbo boost is enabled and there is no load. Than the frequency will be low anyway. Instead if there is some load, it will increase the maximum frequency automatically, and this defeats the whole purpose of saving battery. Instead by using TLP manually you can have battery-saver mode and performance profiles, matching what you really need to do.
@LeoNux-um7tg
@LeoNux-um7tg 3 месяца назад
auto_cpufreq in older thinkpad is much better than TLP.
@joaopauloalbq
@joaopauloalbq 4 месяца назад
Your browser should also suport VAAPI! I use Firefox because of that...
@MichaelNROH
@MichaelNROH 4 месяца назад
I use both Brave and Firefox and they both support it. But the vaapi dependencies and codecs still need to be installed or the actual decoding falls back to CPU
@egozMaster
@egozMaster 2 месяца назад
2024 and linux just have this feature
@PERVYSAGE-106
@PERVYSAGE-106 3 месяца назад
My vainfo is not working don't know why
@Just_Areki
@Just_Areki 4 месяца назад
Do those optimizations affect performance? I currently near happy with just amd-pstate-epp governor, and my laptop performs near the same as on AC when on battery, which I like, because I don't care if I'm on battery or not - work still can be done effectively (or even games perform well)
@MichaelNROH
@MichaelNROH 4 месяца назад
Usually not. I'm not saying that some wrong configurations or incompatibility can lead to a slight loss of performance, but usually not.
@Just_Areki
@Just_Areki 4 месяца назад
@@MichaelNROH I have considered trying cpufreq variant for now. Results are promising, on battery with only browser laptop already has lower temperature!
@aniksen3831
@aniksen3831 4 месяца назад
bro I have a question is linux really beat mac for battary life on notebooks?
@MichaelNROH
@MichaelNROH 4 месяца назад
It's not just the operating system but also the hardware. A good ARM system with a proper configuration can beat Apple at a much lower pricepoint
@aniksen3831
@aniksen3831 4 месяца назад
@@MichaelNROH yea i think you are right, but still mac hold is position no 1 for new silicon cheap.!!!
@famousmwofficial8046
@famousmwofficial8046 3 месяца назад
Can't we just use what ever chrome os uses to save battery?
@MichaelNROH
@MichaelNROH 3 месяца назад
ChromeOS is also just opimized towards a certain set of hardware. It's the same question if you try to use power measurements from Pop!_OS or Tuxedo OS. It's just optimization towards hardware with drivers.
@pipeliner8969
@pipeliner8969 4 месяца назад
it's horrible on my laptop
@Milena-ix5mq
@Milena-ix5mq 2 месяца назад
I don`t know man, my battery is running so low so fast, that I`m considering removing it and running my laptop without it, like a desktop PC :D
@theinhumaneme
@theinhumaneme 4 месяца назад
Can you compare TLP vs autofreq?
@MichaelNROH
@MichaelNROH 4 месяца назад
There is no point in that as I have no system that would come out on top with auto-cpufreq unfortunately
@theinhumaneme
@theinhumaneme 4 месяца назад
@@MichaelNROH cool, I was on ACF until now, moved to TLP a few moments ago, will update when I can, I get around 7-8 hours of battery on my machine sometimes even higher with ACF, will see if TLP improves the battery life
@PERVYSAGE-106
@PERVYSAGE-106 3 месяца назад
New to linux😢
@adnanalam6201
@adnanalam6201 4 месяца назад
Only Problem of tlp is that, it disable turbo mode
@MichaelNROH
@MichaelNROH 4 месяца назад
It doesn't
@adnanalam6201
@adnanalam6201 4 месяца назад
@@MichaelNROH well Umm watched Chris titus vid , he told.
@truck.-kun.
@truck.-kun. 4 месяца назад
​@@adnanalam6201you can config its behaviour through gui
@jimmyneutron129
@jimmyneutron129 2 месяца назад
@@adnanalam6201 ctt says tons of bullshit anyway
@gamtax
@gamtax 2 месяца назад
Honestly, my laptop's battery life is worse in Linux because both my dGPU and iGPU consume 5W each when idling, even I boot straight to TTY.
@particletrap_inventor
@particletrap_inventor Месяц назад
Don't work at mint....
@ps3301
@ps3301 4 месяца назад
Windows and macos will have llm built in to control everything. After 20 years, linux will be lagging far behind again
@MichaelNROH
@MichaelNROH 4 месяца назад
Windows uses proprietary custom drivers for that. Without any Internet access to pull them, you won't get a proper experience.
@_zelatrix
@_zelatrix 3 месяца назад
That's a reason to use Linux then. You don't need an LLM. They don't do anything, it's just bollocks.
@01dom
@01dom День назад
Somehow both just make it worse by a lot
Далее
The Programs I Use On Linux ...
9:31
Просмотров 62 тыс.
The Linux Experience
31:00
Просмотров 298 тыс.
Вечный ДВИГАТЕЛЬ!⚙️ #shorts
00:27
Просмотров 956 тыс.
Volkswagen судится с Volkswagen?
01:00
Просмотров 1,8 млн
Saving Power on a Linux Laptop
7:25
Просмотров 170 тыс.
How I DOUBLED my battery life on Arch Linux
5:20
Просмотров 24 тыс.
Plasma 6.1: the BEST LINUX DESKTOP (in my opinion)
17:03
Why Am I Still On Gnome?
8:12
Просмотров 52 тыс.
Linux Problems
11:39
Просмотров 114 тыс.
The Biggest Linux Security Mistakes
9:44
Просмотров 152 тыс.
Lenovo is Chinese. Why aren't they sanctioned?
15:50
Просмотров 752 тыс.
How and why I switched to Linux
12:22
Просмотров 143 тыс.
Озвучка Skibidi Toilet 75
4:12
Просмотров 160 тыс.
СТРИМ БЛЕК РАША - СТРИМ BLACK RUSSIA
1:54:38