Increase Battery Life on Linux...

Sdílet
Vložit
  • čas přidán 18. 06. 2024
  • ► 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
  • Hry

Komentáře • 174

  • @clankfish
    @clankfish Před 3 měsíci +39

    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 Před 3 měsíci +2

      based pfp

    • @arthurbalejo215
      @arthurbalejo215 Před měsícem

      ubuntu?

    • @clankfish
      @clankfish Před měsícem

      @@arthurbalejo215 ive been hopping around really. arch, lmde, nixos. i'm still not really sure what i want to do with this laptop, lol

  • @3gsahil
    @3gsahil Před 3 měsíci +28

    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 Před 3 měsíci +2

      Yes, exactly. Pop OS system-power is good enough on my notebooks without any hazzle. You can do better, but it means hard work!

  • @BrianJones-wk8cx
    @BrianJones-wk8cx Před 3 měsíci +12

    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!

  • @xperience-evolution
    @xperience-evolution Před 3 měsíci +11

    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.

  • @randydator4848
    @randydator4848 Před měsícem +3

    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

  • @MINI_91
    @MINI_91 Před 3 měsíci +7

    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.

  • @ariel_chess
    @ariel_chess Před 3 měsíci +3

    This is my 1st concern with my laptop! Thank you!

  • @robonator2945
    @robonator2945 Před 3 měsíci +56

    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  Před 3 měsíci +27

      Depends on what the battery itself reports. An operating system can only take that info

    • @spicynoodle7419
      @spicynoodle7419 Před 3 měsíci +4

      Just *cat /sys/class/power_supply/BAT1/capacity* if you don't trust GUIs

    • @robonator2945
      @robonator2945 Před 3 měsíci +12

      ​@@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 Před 3 měsíci +3

      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 Před 3 měsíci

      ​@@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.

  • @abdoulkarimsaliah8412
    @abdoulkarimsaliah8412 Před 3 měsíci +5

    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!

  • @clusterguard
    @clusterguard Před 2 měsíci +6

    VERY GOOD AND CLEAR ENGLISH. BEST FROM GREENLAND AND THANK YOU!

  • @isaacshiellsthomas992
    @isaacshiellsthomas992 Před 3 měsíci +1

    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 Před 3 měsíci +1

    This was very helpful, thank you.

  • @AlonsoHeadbang
    @AlonsoHeadbang Před 3 měsíci +1

    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)

  • @esra_erimez
    @esra_erimez Před 3 měsíci +2

    I love this channel. I always learn some thing useful.

  • @turtleidiot3324
    @turtleidiot3324 Před 3 měsíci +8

    my laptop already had a 50% increase in battery since juming from windows to arch. it's gonna last me for ages now

  • @MmntechCa
    @MmntechCa Před 3 měsíci +1

    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.

  • @65svein
    @65svein Před 3 měsíci +1

    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.

  • @helgiles
    @helgiles Před 2 měsíci

    Thank you, Michael!

  • @mahmoud1737
    @mahmoud1737 Před 3 měsíci +3

    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

  • @TriVoxel
    @TriVoxel Před 3 měsíci +1

    Thanks bro!

  • @Redmage913
    @Redmage913 Před 3 měsíci +1

    Immediately bookmarked. Thank you!

  • @shrkwt
    @shrkwt Před 3 měsíci +4

    Again; this is what I've been looking for on my laptop.
    Great minds do think alike!

  • @UnicronPlanetMode
    @UnicronPlanetMode Před 2 měsíci

    Just what i was looking for!

  • @Karti200
    @Karti200 Před 3 měsíci +1

    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

  • @rgbmew
    @rgbmew Před 3 měsíci +2

    i dont even own a laptop i just love hearing you talk about linux honestly

  • @JEgkt
    @JEgkt Před 3 měsíci +1

    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.

  • @Azeem_Idrisi
    @Azeem_Idrisi Před měsícem +1

    Greet video man! You got a sub ❤

  • @SIMULATAN
    @SIMULATAN Před 3 měsíci +4

    Perfect timing haha, I just wrote reading notes in vim from the TTY to improve battery life

  • @DanielPichl
    @DanielPichl Před 3 měsíci +1

    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.

  • @sarcasticmcspastic
    @sarcasticmcspastic Před 3 měsíci +1

    Yknow I just got my hands on a Thinkpad T450s for $45 with its unusual battery situation and this dropped at an amazing time

  • @nicolaslampreda5332
    @nicolaslampreda5332 Před 3 měsíci +1

    You never fail to bring something that's worth watching on your channel! Keep it up.

  • @OraOraOra
    @OraOraOra Před 3 měsíci +1

    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  Před 3 měsíci +1

      I'm gonna take a look once a stable distro releases it.

  • @mohamad20zx34
    @mohamad20zx34 Před 3 měsíci +1

    Thanks my battery has increased after trying that tlp script

  • @anon_y_mousse
    @anon_y_mousse Před 3 měsíci +1

    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?

  • @arkabarua5494
    @arkabarua5494 Před 3 měsíci +5

    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

  • @tysonjohn444
    @tysonjohn444 Před 2 měsíci

    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 Před 22 dny

    0:55 i love using the terminal im happy ;D

  • @kierank01
    @kierank01 Před 3 měsíci

    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?

  • @timotiuswidjaja2792
    @timotiuswidjaja2792 Před 3 měsíci +2

    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?

  • @shApYT
    @shApYT Před 3 měsíci +1

    Latest version of TLP is 1.6.1 and it is not available on fedora due to conflicts with SElinux.

  • @bsp_learning7135
    @bsp_learning7135 Před 2 měsíci

    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 Před měsícem

      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.

  • @lisovyy
    @lisovyy Před 3 měsíci

    a bit off-topic - what is your experience with the touch screen on your MS Surface?

  • @emlyndewar
    @emlyndewar Před 3 měsíci +1

    This is a great video.

  • @razarjp
    @razarjp Před 3 měsíci +1

    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  Před 3 měsíci +1

      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 Před 3 měsíci

      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

  • @ismatovsanjarbek
    @ismatovsanjarbek Před 3 měsíci +1

    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  Před 3 měsíci

      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 Před 3 měsíci

      @@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!!

  • @enderpirate9887
    @enderpirate9887 Před 3 měsíci

    What about TuneD? I find it very polished and at least on Bazzite it integrates well with the Power-Profiles-Daemon Plasmoid!

  • @burningpho3nix
    @burningpho3nix Před 3 měsíci +3

    I actually know the tlp main dev personally 😅

  • @ms1595
    @ms1595 Před měsícem

    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

  • @AndersHass
    @AndersHass Před 3 měsíci +1

    Tuxedo has suggested RGB API for the Linux Kernel, maybe they could work in some power management too, lol.

    • @MichaelNROH
      @MichaelNROH  Před 3 měsíci +1

      If its beneficial for their laptops and there are enough maintainers, sure why not?

    • @AndersHass
      @AndersHass Před 3 měsíci

      @@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.

  • @bhargavjitbhuyan9394
    @bhargavjitbhuyan9394 Před 3 měsíci +3

    Yaaaaaa! This is the video I needed.
    Biggest battery life offender are
    Fedora
    Manjaro with 6.7 kernel (6.6 is OK).

    • @setaindustries
      @setaindustries Před 3 měsíci +1

      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 Před 3 měsíci

      @@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 CZcams 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 Před 3 měsíci

      @@bhargavjitbhuyan9394 WMs take practice to use, but when I switched from popos's GNOME to bspwm and configured it myself its much easier

  • @egg5687
    @egg5687 Před 3 měsíci +1

    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  Před 3 měsíci +1

      Its a package that comes with auto-cpufreq when installing.
      The --install parameter probably does the same

  • @kaziashrafulalam20
    @kaziashrafulalam20 Před 3 měsíci +2

    TLP-UI is much simpler and easy to use.

  • @manuelrivera6778
    @manuelrivera6778 Před 3 měsíci +1

    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.

  • @Just_Areki
    @Just_Areki Před 3 měsíci +1

    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  Před 3 měsíci +1

      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 Před 3 měsíci

      @@MichaelNROH I have considered trying cpufreq variant for now. Results are promising, on battery with only browser laptop already has lower temperature!

  • @OthoDaFe
    @OthoDaFe Před 3 měsíci +1

    I hope this will work for a Surface with Fedora 38. Battery life dropped a lot compared to Win.

  • @tusharsnx
    @tusharsnx Před 3 měsíci +2

    Cheers! Now you can use your linux 15 mins more.

  • @wixlogo
    @wixlogo Před 3 měsíci

    btw Micheal are you running an firewall to your Fedora install?
    UFW or Firewalld?

    • @MichaelNROH
      @MichaelNROH  Před 3 měsíci +1

      The default one, not sure what it is.
      I don't use any firewall configurations in my internal network besides my Server

    • @wixlogo
      @wixlogo Před 3 měsíci

      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 Před 3 měsíci +1

      firewalld then

  • @kbaeve
    @kbaeve Před 2 měsíci +1

    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  Před 2 měsíci +1

      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 Před 2 měsíci

      @@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 :)

  • @felderup
    @felderup Před 3 měsíci

    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.

  • @pagundu
    @pagundu Před 3 měsíci

    My laptop is wired in for the most of the time 😂

  • @diuran1919
    @diuran1919 Před 3 měsíci

    It is possible to run auto-CPUfreq with standards CPU clock , not turbo mode ?

    • @MichaelNROH
      @MichaelNROH  Před 3 měsíci

      If you configure it manually yes.

  • @John7No
    @John7No Před 3 měsíci +2

    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  Před 3 měsíci +1

      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 Před 3 měsíci +1

      @@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

  • @MinusStar96
    @MinusStar96 Před 3 měsíci

    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  Před 3 měsíci +1

      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

  • @cyangalaxy
    @cyangalaxy Před 3 měsíci

    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  Před 3 měsíci +1

      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 Před 3 měsíci

      ​@@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...

  • @niamotullah99
    @niamotullah99 Před 3 měsíci +1

    Something i have been missing

  • @aMartianSpy
    @aMartianSpy Před 3 měsíci

    Was that gedit editing /etc/tlp.conf and asking for sudo password when saving file?

    • @MichaelNROH
      @MichaelNROH  Před 3 měsíci

      It's the default Gnome Text editor

  • @Svenlaa
    @Svenlaa Před 3 měsíci +1

    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  Před 3 měsíci

      Details are better looked up manually in their documentation.
      Explaining all the settings would take up 15 minutes by itself probably

  • @rautamiekka
    @rautamiekka Před 3 měsíci

    Laptop Mode Tools ?

  • @guilherme5094
    @guilherme5094 Před 3 měsíci +1

    👍

  • @federicocalzoni3243
    @federicocalzoni3243 Před 3 měsíci +1

    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 Před 3 měsíci

    auto_cpufreq in older thinkpad is much better than TLP.

  • @mateuszjuszczykowski6819
    @mateuszjuszczykowski6819 Před 3 měsíci

    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 Před 3 měsíci

      I saw the same call out. I'm still trying it out and see what happens

    • @mateuszjuszczykowski6819
      @mateuszjuszczykowski6819 Před 3 měsíci

      @@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. Před 3 měsíci

      ​@@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 Před 3 měsíci

    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  Před 3 měsíci

      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. Před 3 měsíci

      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.

  • @crocodilegamer93
    @crocodilegamer93 Před 3 měsíci

    Hardware acceleration doesn't work for my ati 5650 (with the h264ify extension).

    • @MichaelNROH
      @MichaelNROH  Před 3 měsíci +1

      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 Před 3 měsíci

      @@MichaelNROH thanks I will try it out

  • @michadybczak4862
    @michadybczak4862 Před 3 měsíci +1

    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.

  • @verpejas
    @verpejas Před 3 měsíci +1

    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

  • @joaopauloalbq
    @joaopauloalbq Před 3 měsíci

    Your browser should also suport VAAPI! I use Firefox because of that...

    • @MichaelNROH
      @MichaelNROH  Před 3 měsíci

      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 Před 2 měsíci

    2024 and linux just have this feature

  • @aniksen3831
    @aniksen3831 Před 3 měsíci

    bro I have a question is linux really beat mac for battary life on notebooks?

    • @MichaelNROH
      @MichaelNROH  Před 3 měsíci +1

      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 Před 3 měsíci

      @@MichaelNROH yea i think you are right, but still mac hold is position no 1 for new silicon cheap.!!!

  • @PERVYSAGE-106
    @PERVYSAGE-106 Před 3 měsíci

    My vainfo is not working don't know why

  • @famousmwofficial8046
    @famousmwofficial8046 Před 3 měsíci

    Can't we just use what ever chrome os uses to save battery?

    • @MichaelNROH
      @MichaelNROH  Před 3 měsíci

      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.

  • @Milena-ix5mq
    @Milena-ix5mq Před 2 měsíci

    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 Před 3 měsíci

    Can you compare TLP vs autofreq?

    • @MichaelNROH
      @MichaelNROH  Před 3 měsíci

      There is no point in that as I have no system that would come out on top with auto-cpufreq unfortunately

    • @theinhumaneme
      @theinhumaneme Před 3 měsíci

      @@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 Před 3 měsíci

    New to linux😢

  • @adnanalam6201
    @adnanalam6201 Před 3 měsíci

    Only Problem of tlp is that, it disable turbo mode

    • @MichaelNROH
      @MichaelNROH  Před 3 měsíci

      It doesn't

    • @adnanalam6201
      @adnanalam6201 Před 3 měsíci

      @@MichaelNROH well Umm watched Chris titus vid , he told.

    • @truck.-kun.
      @truck.-kun. Před 3 měsíci

      ​@@adnanalam6201you can config its behaviour through gui

    • @jimmyneutron129
      @jimmyneutron129 Před měsícem

      @@adnanalam6201 ctt says tons of bullshit anyway

  • @pipeliner8969
    @pipeliner8969 Před 3 měsíci

    it's horrible on my laptop

  • @gamtax
    @gamtax Před 2 měsíci

    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 Před měsícem

    Don't work at mint....

  • @ps3301
    @ps3301 Před 3 měsíci +1

    Windows and macos will have llm built in to control everything. After 20 years, linux will be lagging far behind again

    • @MichaelNROH
      @MichaelNROH  Před 3 měsíci +2

      Windows uses proprietary custom drivers for that. Without any Internet access to pull them, you won't get a proper experience.

    • @_zelatrix
      @_zelatrix Před 3 měsíci

      That's a reason to use Linux then. You don't need an LLM. They don't do anything, it's just bollocks.