How to improve your BATTERY LIFE on LINUX!

Поділитися
Вставка
  • Опубліковано 13 чер 2024
  • Grab a brand new laptop or desktop running Linux: www.tuxedocomputers.com/en#
    👏 SUPPORT THE CHANNEL:
    Get access to:
    - a Daily Linux News show
    - a weekly patroncast for more personal thoughts
    - polls on the next topics I cover,
    - your name in the credits
    UA-cam: / @thelinuxexp
    Patreon: / thelinuxexperiment
    Or, you can donate whatever you want:
    paypal.me/thelinuxexp
    Liberapay: liberapay.com/TheLinuxExperim...
    👕 GET TLE MERCH
    Support the channel AND get cool new gear: the-linux-experiment.creator-...
    🎙️ LINUX AND OPEN SOURCE NEWS PODCAST:
    Listen to the latest Linux and open source news, with more in depth coverage, and ad-free! podcast.thelinuxexp.com
    🏆 FOLLOW ME ELSEWHERE:
    Website: thelinuxexp.com
    Mastodon: mastodon.social/web/@thelinuxEXP
    Pixelfed: pixelfed.social/TLENick
    PeerTube: tilvids.com/c/thelinuxexperim...
    Discord: / discord
    Timecodes:
    00:00 Intro
    00:32 Sponsor: Tuxedo Computers
    01:38 State of your battery
    02:56 Hardware acceleration
    06:30 TLP
    09:42 Dual GPU setups
    11:36 Other basic tips
    13:34 Other tools and parting thoughts
    14:43 Support the channel
    #Linux #batterylife #linuxbattery #batterysave #laptopbattery #laptop #linuxlaptop
    Check battery health: upower -i /org/freedesktop/UPower/devices/battery_BAT0
    If you watch videos or stream movies and shows from your browser, check that it's actually using your GPU to accelerate that video decoding.
    To check that in Firefox, type about:support in the URL bar, then search for "compositing" in the page. If it says "webrender", you're good.
    To check if the GPU is used to decode videos, you can also search for "hardware_video_decoding". If it says "default available", you're good.
    On Chromium based browsers, to check for that, type chrome://gpu in the URL bar.
    On Firefox, to enable that, open the about:config page, then search for media.hardware-video-decoding.enabled. Double click the value to set it to true.
    On any chrome based browser, you can just go to the settings, to "system", and toggle "use graphics acceleration when available". Provided your distro has the required packages, you should be good.
    And, if you have an older chipset that isn't able to decode all formats using the GPU, like for example VP8 or VP9, you have browser extensions, called enhanced-h264ify for Firefox, or h264ify for Chrome, which will let you set h264 as the default codec on youtube.
    One of the most useful tools here will be TLP. It's a command line only tool, but fear not, there's a graphical user interface that's much more user friendly here, called TLP UI.
    Once installed, TLP will run automatically in the background after the first reboot. If you open TLP UI after that, you should see that it's enabled, and get access to all the various settings.
    TLP documentation: linrunner.de/tlp/usage/index....
    Now, if your computer has 2 GPUs, an integrated one, and a dedicated one, you might also want to check which one you're using: when using your laptop unplugged, you might want to just use the integrated GPU, and when plugged in, the dedicated GPU.
    The easiest way to do so is by staying in hybrid graphics mode. If you have an nvidia GPU, and the proprietary drivers you can just open th Nvidia settings app, and head over to the "prime profiles" tab, and select "Nvidia on demand".
    If you really want the best savings though, then you'll need to completely disable the dedicated GPU, either by using "Intel (power saving mode) in the nvidia settings app, or by using the BIOS to set your GPU to integrated only.
    And of course, there are the usual basic changes you can make: the usual screen brightness thing, this can save you a ton of battery. The display's refresh rate is also a factor, and variable refresh rate will let you save some battery.
    The more recent your hardware is, the better the chances a more recent kernel and drivers will have better hardware support and better performance and battery life.
  • Наука та технологія

КОМЕНТАРІ • 283

  • @TheLinuxEXP
    @TheLinuxEXP  Місяць тому +16

    Grab a brand new laptop or desktop running Linux: www.tuxedocomputers.com/en#

    • @ivomagalhaes1
      @ivomagalhaes1 Місяць тому

      Tuxedo have a tool for reduce battery lifetime...

    • @prgnify
      @prgnify Місяць тому

      Nick, for your upcoming video on light weight distros please include EasyOS. I know you showed puppy and so probably already know about EasyOS - but so many Linux content creators don't mention it, and I think it is a bit of a disservice for the community, as it does a lot of really awesome and unique things.

  • @iWisp360
    @iWisp360 Місяць тому +139

    Linux doesn't save battery as i'm using a desktop, but is a relief to see that it doesn't use the disk nor the cpu in the background

    • @JessicaFEREM
      @JessicaFEREM Місяць тому +16

      You can save on your electricity bill though!

    • @ra_benton
      @ra_benton Місяць тому +11

      auto-cpufreq is pretty great for desktops. I was able to drop power draw by 30-50W by changing that to the "powersave" governor with no noticeable impact.

    • @selvakumarm4382
      @selvakumarm4382 15 днів тому

      Biglinux distro actually gives u more time.. my 2013 bought acer laptop with non original replacement battery gives 3 hrs on biglinux distro and 2 hrs on windows 10

  • @cameronbosch1213
    @cameronbosch1213 Місяць тому +130

    BTW, do _NOT_ use TLP on Linux on AMD Framework Laptops (the 13 AMD and 16) because Framework advises against it for technical reasons relating to AMD.

    • @jay_tuckey
      @jay_tuckey Місяць тому +4

      True. I'm getting pretty good battery life on an AMD Framework 13 by just following their setup guide and using the recommended OEM kernel (Distro is KDE Neon).

    • @teeteetuu94
      @teeteetuu94 Місяць тому +9

      After kernel 6.3, there shouldn't be much of any reason to use TLP for AMD CPUs where the CPPC driver is already included.

    • @VitisCZ
      @VitisCZ Місяць тому +2

      @@teeteetuu94 is the cppc driver used by default though? On my desktop with kernel 6.8 i still need to use kernel parameter to switch to the amd-pstate powersave governor for cpu frequency scaling otherwise it's using acpi-cpufreq's schedutil governor by default

    • @OneWithWaves
      @OneWithWaves Місяць тому +2

      Same for anyone running Pop OS - their power utility conflicts with TLP in a lot of ways.

    • @handleless85
      @handleless85 Місяць тому

      GNOME is also not fond of TLP for some reason and advises against it. So far I am sticking with the power modes supplied by GNOME, does TLP save more battery somehow?

  • @docireland
    @docireland Місяць тому +86

    Better ARM hardware and ARM support would go a huge way to improving battery life. My SD850 based W11 Lenovo device can run for a day and half on a charge and still has the power needed.

    • @cameronbosch1213
      @cameronbosch1213 Місяць тому +16

      The problem is app support. While you can probably recompile FOSS apps to run on aarch64 (ARM 64 bit), apps that aren't FOSS are bascially a no go for now.

    • @toxiccan175
      @toxiccan175 Місяць тому +5

      Armbian is great for SBC ARM support, and stock Debian and Arch aarch64 both work on most ARM devices with some tinkering.
      You can run x86/amd64 programs with box86 and box64

    • @floppa9415
      @floppa9415 Місяць тому +4

      Thats because its a 2018 smartphone chip that usually ran on 3500 mAh phones. It would be hard to get bad battery life there.

  • @ksrg8144
    @ksrg8144 Місяць тому +49

    just installed linux on my laptop for the first time like yesterday and this video pops up, the universe can be funny like that sometimes

    • @jellifygirl
      @jellifygirl Місяць тому

      I just had to bring an extension cord out to charge my device because my battery disappeared while I was installing a chonky distro (that I didn't even end up using), surely it's fate.

    • @calllen
      @calllen Місяць тому

      is your youtube account also your google account

    • @hf2943
      @hf2943 Місяць тому +10

      its called google tracking, they know everything about us

    • @ksrg8144
      @ksrg8144 Місяць тому

      @@hf2943 I mean true, but I've been watching this channel for a while and I just put off installing on laptop until like yesterday so its just a funny coincidence, unless Nick is tracking me lol

    • @prajhualak
      @prajhualak Місяць тому

      This channel feels like Nick is tracking me. Like if I asked my friend about something, nick uploads a video about them the next day. What a coincidence? Happened more than 5 times and also we talked about distros made to run on very low powered laptops very recently and he says his next video is about them......
      Maybe he is just so close to community feedback

  • @Mekuso8
    @Mekuso8 Місяць тому +13

    One thing I wish you would have mentioned is that Tuxedo control Center allows you to set a top buffer for your battery, for Tuxedo laptops. It's not only the battery life you get today that matters, setting the max capacity to 80% will greatly increase the lifetime of that battery

    • @axeldewater9491
      @axeldewater9491 Місяць тому +2

      I just looked through the TLP settings, and it's there too.

  • @user-vn9ld2ce1s
    @user-vn9ld2ce1s Місяць тому +19

    Warning: DO NOT set disk spindown tineout to 2 seconds for spinning hard drives, frequent spin-ups and spin-downs will wear down the hard drive much faster than letting it run continuously. For SSDs it's okay, but i doubt you will save much power that way.

    • @user-hh4br5tk5p
      @user-hh4br5tk5p Місяць тому +1

      True.

    • @truck.-kun.
      @truck.-kun. Місяць тому +2

      True. Also makes drive related I/O much slow since it spins from idle state

  • @bolovanro
    @bolovanro Місяць тому +38

    my laptop (a HP)...playing netflix...on windows is able to play for 2-2.5 hours...on linux (debian)...around 4-4.5 hours. On windows...just sitting (Windows 10)...around 3.5 hours. In linux around 6 hours. On windows I don't have installed anything except firefox browser.

    • @jchoneandonly
      @jchoneandonly Місяць тому +1

      I can get mine to last around 4 hours pretty easy.
      Haven't tried on Linux yet

    • @VitisCZ
      @VitisCZ Місяць тому +3

      That's great to see although battery life on Linux is and always has been a very big hit and miss depending on the laptop hardware. The HP laptops I personally encountered also had good Linux support though. My Asus laptop I've used since 2012 also had almost double battery life compared to windows 10 when just watching a movie in mpv but the battery has died so it's permanently connected now.

    • @evilleader1991
      @evilleader1991 Місяць тому +2

      Opposite for me

    • @arghyaprotimhalder5592
      @arghyaprotimhalder5592 Місяць тому

      Similar butote Difference windows 1-2 hrs Linux 4 hrs + .
      Windows 11 is way too bloated.
      Like wth is 22GB program files out the box . Why where 60% memory on startup why so many services I can't block

    • @felipe.raposo
      @felipe.raposo Місяць тому +1

      Netflix doesn't deliver 4k on Linux. That may explain some of that difference. How is the difference when using other apps, like Chrome for example?

  • @user-xq9mo4mu2z
    @user-xq9mo4mu2z Місяць тому +24

    Just wanted to point out that Nvidia video acceleration is a bit more complicated on Firefox. Nvidia proprietary drivers only support VDPAU for video acceleration, while Firefox only supports VA-API, which the Nvidia drivers don’t support. The only way to get this to work I believe is by installing an unofficial package called nvidia-vaapi-driver.

    • @ArefinKarim
      @ArefinKarim Місяць тому +3

      I faced this problem on OBS too! the recording would not start, but on intel gpu. onevpl-intel-gpu is my solution.

    • @TheLinuxEXP
      @TheLinuxEXP  Місяць тому +6

      I think a lot of distros will auto install that one when you install Nvidia drivers from their repos, but maybe not every one!

    • @user-xq9mo4mu2z
      @user-xq9mo4mu2z Місяць тому +2

      Probably true, fedora and arch don’t that’s all I’m familiar with

    • @VitisCZ
      @VitisCZ Місяць тому

      Also it works pretty well on recent gpus but if you run older driver branch then it may not even work at all no matter what. I did eventually get it working on a gt635m using driver 340 but it took some tinkering and obviously works only under Xorg

  • @graycock
    @graycock Місяць тому +14

    For all my fellow amd users who struggle with battery life, try configuring TDP of your SoC. I have ryzen 7 6800HS that Asus configured to go all the way up to 55 watts, so when i ise gpu acceleration, it usually consumes from 15 to 26 watts just like that. To improve that I used RyzenAdj to configure sustainable TDP that SoC tries to run at down to 6 watts, max fast boost to 35 watts and slow boost, which may sound weird, but means a limit under heavy and long load, to 25 watts. Got performance in geekbench6 from 1900/7500 to 1900/6800, but maximum power consumption went down to 23 watts in usual tasks and as an addition, i could play games not for one hour as my 55 watt SoC frained 66 watt hour battery too fast, but for 2-3 hours and 3-4 after i limited them to 6-28-18.
    I dont have a discrete graphic too, only igpu, by the way.

  • @toxiccan175
    @toxiccan175 Місяць тому +23

    TLP is really great. Just double check its Bluetooth settings if your Bluetooth mouse won’t work after using it, there can sometimes be some problems there

  • @ww4102
    @ww4102 Місяць тому +3

    I went trought all those battery related problems and solutions on various hardware during my years of using linux, and I'm surprised with how well you covered this subject. Most of the videos are just about tlp as a holy grail for everything, but you did a good job.

  • @sergeiborodin9254
    @sergeiborodin9254 Місяць тому +6

    One topic that wasn't mentioned - battery charge control. Some batteries have hardware charge controller that allows to limit current capacity to usually somewhere around 50%-85%. It is useful for battery health if laptop is working connected to power outlet most of the time. Keeping battery charged 100% at all times (even plugged, microdraining - microcharging) decays it a lot faster. You might notice that when you're using fresh smartphone or laptop from your shop it usually charged around 50%.
    Some manufacturers provide Windows drivers for that kind of thing. But Linux, as usual, is whole another story.
    Most distros do not provide tools for that and even if some other app was installed - most probably it won't work. Dualbooting experiments are even worse - you can set limits from Windows but Linux may not respect them - resulting in battery overdrive and quick death. The same goes for Linux-Windows booting.
    So right now if you don't know 100% that pair "laptop board - battery" are 100% supported in Linux - DO NOT touch charging limits for your battery, especially if you are dual-booting. If dual-booting don't touch them in Windows either.

  • @harshborana
    @harshborana Місяць тому +46

    7:12 i find your face expression funny when you said arch 😂

  • @whatwhat-777
    @whatwhat-777 Місяць тому +4

    This Video Saved Me SOOOOOOO Much time.....love the channel from the start

  • @hedwig7s
    @hedwig7s 16 днів тому +1

    That intro was wild

  • @373323
    @373323 Місяць тому

    awesome, made it easy for everyone to check how their system is configured power consumption wise, thank you

  • @codelinx
    @codelinx Місяць тому

    Using this stuff later today. Great video!

  • @dovix
    @dovix Місяць тому +8

    Dis guy never fails to deliver

  • @personalaccount1515
    @personalaccount1515 Місяць тому

    Excellent video dude!

  • @rabinh.forrer9497
    @rabinh.forrer9497 Місяць тому

    Thanks Nick for these recommendations. Greetings.

  • @JohnLamontanaro
    @JohnLamontanaro Місяць тому

    gonna get me a tuxedo laptop soon. ty for the tlp never knew about it

  • @UKprl
    @UKprl Місяць тому +3

    @ 12:27 regarding Ubuntu LTS, this advice is out of date
    *if* you install from a point release of the LTS or you install "linux-generic-hwe-22.04" which will provide a newer kernel, currently on 6.5.x

  • @Mr.SharkTooth-zc8rm
    @Mr.SharkTooth-zc8rm Місяць тому

    Thank you sir! 👍

  • @jerryferreira8960
    @jerryferreira8960 Місяць тому +1

    Love the premature line!!! 😂

  • @THeck_23
    @THeck_23 Місяць тому

    Great tips! :)

  • @gavinjones
    @gavinjones Місяць тому +1

    I always have the laptop on charge. The setting to limit charging past a certain percentage is a god send

  • @yogurtmilk3912
    @yogurtmilk3912 Місяць тому +3

    Powertop is great for this, running powertop --auto-tune on startup literally made my laptop battery went from 4 hours to 8-9 hours in mixed use (Intel 13th gen).
    Without needing to install tlp, just using the power profile settings available on both gnome and kde on balanced, so basically without losing performance.

    • @FlorinArjocu
      @FlorinArjocu Місяць тому

      What laptop do you use? Dual GPU? Do you have USB or Wifi or Bluetooth problems because of that? Your numbers are too good to be true, not sure if I should try :))

    • @yogurtmilk3912
      @yogurtmilk3912 Місяць тому

      @@FlorinArjocu yes, but I don't have the drivers for my nvidia gpu so it's disabled.
      Wifi and Bluetooth and everything else work perfectly for me, the only problem I have noticed is that if I have connected a USB Receiver for a wireless mouse, the optimization it does is really annoying (it disconnects too quickly to save battery), so plugging it out and back in fixes it.
      Anyways is worth a try, since all changes made with the command get deleted when you reboot your computer, I made a systemd file so it always executes on boot.

    • @yogurtmilk3912
      @yogurtmilk3912 Місяць тому

      @@FlorinArjocu I forgot the laptop haha, it's an HP envy 16 2023 - i9 13900H and a RTX 4060, I must add that reviewers said that battery life was around 8 to 10 hours, but I haven't used Windows on it so I can't tell.
      Anyways, if anyone else has this laptop or another hp laptop without sound, it'll probably be fixed in kernel 6.9, I'm running the release candidate in my model and now everything works perfectly.
      For older kernels there is a patch on GitHub by xocoon that uses dkms, but I'd probably just install the newer kernel.

  • @loc4725
    @loc4725 Місяць тому

    PowerTop, yes I've had that issue too. It was putting *all* the USB Host Controllers into sleep mode, including those with the keyboard & mouse attached.

  • @trevorford8332
    @trevorford8332 Місяць тому +7

    I don't know about a battery but I think I need a new laptop. It's the ones you have to hand crank to get it started. 🙂

  • @arhbaramov6296
    @arhbaramov6296 Місяць тому +1

    Nice 💯 useful video again. Just a tip, in Ubuntu mate in the top panel extend script, there is a switch for cpu usage. I run always in power save mode, it use a cpu - 2 wat and gpu - 2 wat, on Ryzen 5625. later on I check, and I write to myself a small home-made :) script, that I use with all distros, on all laptops. BTW I has an accidental test, and battery was workind for 18-20 hours in powersave mode.

  • @BareTuna
    @BareTuna Місяць тому

    Great tips! my laptop is on debian so i'll definitely check hardware accel. I knew about tlp but it wasnt fun to configure last i tried, so tlp ui looks awesome. Thanks!

  • @diablorojo3887
    @diablorojo3887 Місяць тому +2

    Good tips , I only advert to be cautious on disabling the high refresh rates on the monitor/display, at glance it's a good thing because you blocked 60+fps to burn battery, BUT you end disabling the low refresh rates (30 or less), this is one of the cases here the machine is better on the decision making

    • @Deinorius
      @Deinorius Місяць тому

      What? What do you mean with disabling less refresh rates?

    • @VitisCZ
      @VitisCZ Місяць тому +1

      Are you talking about VRR panels? If so then yes variable refresh rate tends to be better. Although panel self refresh is also a thing for when the screen doesn't change for longer periods such as when reading.

  • @ra_benton
    @ra_benton Місяць тому

    I've had some pretty bad experiences with powertop's autotuning, however I love the wake event reporting. That's helped me multiple times to find a process that was consuming excess power. In one particular instance, I found that the Authy Desktop flatpak and snap were drawing about 30W to render a count down spinner while showing your TOTP code. I used to have Authy's TOTP code screen active all the time until I learned that was costing me $80/year.

  • @Beryesa.
    @Beryesa. Місяць тому

    10:40 I believe that's a tuxedo addition, bcz it's normally on application settings in Plasma, not in the context menu 🤔

  • @friendlyfire7861
    @friendlyfire7861 Місяць тому

    Very helpful! Had no idea TLP-UI existed, among other things.

  • @c.n.crowther438
    @c.n.crowther438 Місяць тому +2

    I use very aggressive battery settings to get through the day. But then again my daily is a refurb that has 63% battery health out of the box. lol.

  • @luxdalet
    @luxdalet Місяць тому

    Awesome video as always!
    Though I have a question on the NVIDIA Settings. I am using the the drivers from NVIDIA, currently 525.147.05 for my RTX 2060 max-q. I don't have any options in it for toggling dedicated or integrated gpu... Am running Debian 12 with KDE Plasma, and have an AMD processor.

  • @MnemonicCarrier
    @MnemonicCarrier Місяць тому +3

    On Firefox, make sure you turn off *Ambient Mode* in UA-cam. For some reason, *Ambient Mode* consumes 10W+.

    • @TheLinuxEXP
      @TheLinuxEXP  Місяць тому +4

      Probably a choice by Google to try and make Firefox look worse than Chrome

    • @Espadasilenciosa
      @Espadasilenciosa Місяць тому +1

      It also can cause visual glitches in the playing video. Honestly, its an stupid feature that should come disabled by default

  • @AsyrafNararendra
    @AsyrafNararendra Місяць тому

    Use the latest (mainline) kernel and try to use custom kernel (cachyos/lqx). Because the new kernel use EEVDF scheduler and has some patches to improve responsiveness and idling use

  • @Lanausse
    @Lanausse Місяць тому

    Just found out that I was missing packages for H264 hardware decoding. Thanks!

  • @VincentGroenewold
    @VincentGroenewold Місяць тому +1

    Oeh, didn't know about tlp, thanks!

  • @skywz
    @skywz Місяць тому

    I'm using power-profiles-daemon instead of tlp because it integrates with KDE to let me change the power/performance balance in the battery applet.

  • @AndersHass
    @AndersHass Місяць тому

    Interesting plugin to change video decoder.
    My issue would more so be AV1 than the others, lol.

  • @false_positive
    @false_positive Місяць тому +1

    TuxedoOS has it built-in control center, where you can adjust CPU power and profiling. Never saw anything like this in all the distros I've had.

    • @hotrodjones74
      @hotrodjones74 Місяць тому

      Yeah, it's pretty powerful. It's slightly pared down for other distros with supported packages if you install it separately. I installed it on Pop!_OS, when I was on that distro. It's best on Tuxedo OS.

  • @nuxttux
    @nuxttux Місяць тому +1

    What are your thoughts on auto-cpufreq?

  • @ralph4370
    @ralph4370 Місяць тому

    I noticed battery issues when I installed PopOS. Battery would burn out quicker. WHen I reverted back to Windows the battery seem to last longer time wise. Gonna have to look into this more. Thank you for the tips. I have an AMD laptop and seen the comments about that. Makes sense now.

  • @Repligon
    @Repligon Місяць тому

    Correction about chromium. In a lot of cases it might say that video is hardware accelerated on gpu page if you passed proper flags but it is actually not. It was working for a while, but chromium broke it a few months ago. Currently hardware decode only works on intel, but AMD needs a mesa patch that should make its way into next mesa release.

  • @evropej
    @evropej Місяць тому +3

    Merci beaucoup ! Votre chaîne ne se limite pas seulement aux actualités, mais elle offre également des informations utiles qui pourraient être interprétées comme des actualités par les gens. Je ne pense pas que beaucoup de gens apprécient ce que vous fournissez, mais il y en a quelques-uns qui voient la valeur de ce que vous proposez. Continuez votre excellent travail et je vous souhaite le meilleur pour votre chaîne.
    Please reach out to the KD team and have them include a fingerprint scanner for laptops the feature which is not included.

  • @AndyP3r3z
    @AndyP3r3z Місяць тому +1

    Another tip: disabling blur and shadows in any DE or WM is gonna make your battery last WAY longer :)

    • @VitisCZ
      @VitisCZ Місяць тому

      Shadows are usually very cheap to calculate. It's the blur that is pretty heavy causing the battery drain.

  • @danheneise
    @danheneise Місяць тому

    My main issue has that the system doesn’t seem to fully switch to power save mode even though it says it has. This can be seen in `powertop` where all the Tunables will show as “bad”. Going down the list of tunables and setting them all to “good” gives me about a 4 hour battery life increase.

  • @hydrothermalworm7778
    @hydrothermalworm7778 Місяць тому

    I was so confused by this video at first, because my 6 year old laptop on windows 11 was GULPING battery down, even with a brand new iFixIt battery installed. dual booted linux mint and it 10x'ed my battery life

  • @GooogleGoglee
    @GooogleGoglee Місяць тому +1

    With these tricks my battery at 18% capacity runs for 4 hours (software estimated) at 88% of the charge. Amazing

  • @User-404
    @User-404 Місяць тому

    4:06 yep, already using Optimus for the almost begging

  • @michelfug
    @michelfug Місяць тому

    Is hardware acceleration with integrated graphics a thing? Or is that only for when you have a dedicated gpu?

  • @Crackalacking_Z
    @Crackalacking_Z Місяць тому

    TLP+powertop for the win, my 6 year old Acer Swift1 still lasts 12 hours with a mix of medium workloads. I recently bought a HP ProBook 635 G8 (5600U, 53Wh), forgot to shut it down once and with 60% left it lasted 23 hours idling (screen was off tho). Regarding powertop switching off USB devices, I'm running it as a service with auto-tune and my USB devices never get killed.

  • @MorganNilsson
    @MorganNilsson Місяць тому

    What is the best way to setup the Intel UHD 620 in TLP? I want to save as much battery as I can, I don't mind having slightly less performance if I can get better battery time.

  • @Chris.Wiley.
    @Chris.Wiley. Місяць тому

    So my laptop doesn't have tlp installed. When I went to install it, it said it has a conflict with power-profiles-daemon. Which should I be using?

  • @Lanzetsu
    @Lanzetsu Місяць тому

    You killed me at 10:25 "Most GOOD Desktop Environments", always a KDE Lover

  • @User-404
    @User-404 Місяць тому +1

    9:42 don't say that, I'm on Manjaro

  • @k.b.tidwell
    @k.b.tidwell Місяць тому

    I appreciate this video. I'm always looking for better battery life, though I really don't need it. The only time my laptop is unplugged is when I'm moving from my writing room in an outbuilding into my home and vice-versa.
    My biggest problem is the crappy battery I bought. I have a Thinkpad T430 I bought a while back and it came with no battery, so I stepped up and got the bigger 9-cell option, but I didn't want to pay more for the battery than I did the laptop, so I bought a cheapie. Yeh, it's showing 40% capacity after about three months. I capped max charging at 80% so I know I'm not wearing it out. Just a crappy cheap import battery. Day one it gave me 10 solid hours. Now, four.
    So my battery saving efforts now are more about saving face than actually improving battery life. I'd just like to regain what I lost that for whatever reason is hiding from me.

  • @user-yc8vz8gx9e
    @user-yc8vz8gx9e Місяць тому +1

    Will auto-cpufreq or TLP conflict with nvidia-powerd daemon? I really wanna know

  • @ninjanerdstudent6937
    @ninjanerdstudent6937 Місяць тому +1

    I have always received improved battery life upon installing Linux on my laptops.

  • @512Bytes
    @512Bytes Місяць тому

    I have a Zephyrus G15 and I'm afraid of endovourOS using the Nvidia GPU when not needed :/ Loved that this video has a section for it! Super recommended!

  • @MnemonicCarrier
    @MnemonicCarrier Місяць тому +3

    I long for the day we get something like Apple's M-series silicon, where you can video edit on battery for 16 hours (without any throttling), and where the CPU doesn't even have a fan!!!

    • @frankhuurman3955
      @frankhuurman3955 Місяць тому

      which video editor do you use on Linux? Resolve doesn't work for me on Vega 8 iGPU even though it ran Premiere pro just fine when windows was still on this laptop

    • @MnemonicCarrier
      @MnemonicCarrier Місяць тому

      @@frankhuurman3955 I just use Kdenlive (I don't do anything professional).

  • @hotrodjones74
    @hotrodjones74 Місяць тому

    Always charging my laptop has decreased my battery's health somewhat. According to KDE my battery health is at 75% currently. My laptop is 3 years old and I've used it a lot. Did my whole master's degree overseas on it. I used it everyday for hours a day as it was my computer, video game device and TV in the dormitory. Had I been using Tuxedo OS (instead of Pop!_OS) on it I could've better used the integrated battery saving features in the Control Center app. The Tuxedo Control Center is slightly pared down for other Ubuntu-based distros from my observation. I just have their base laptop (Aura 15 Gen 1) and really like it. I can even play most older games on it like Skyrim, Europa Universalis 4, Warhammer 40,000 Gladius, and Neverwinter Nights with no problems.

  • @User-404
    @User-404 Місяць тому

    6:55 cool

  • @xperience-evolution
    @xperience-evolution Місяць тому

    Is Video Hardware acceleration in the Browser only possible with an Nvidia Card? I have a dual GPU with integrated AMD and only run that

  • @Jro1311
    @Jro1311 Місяць тому

    As far as desktop environments go, would KDE with Wayland or XFCE be better for battery life?

  • @dand337
    @dand337 Місяць тому

    With h264ify I've had issues with quality options. As far as i could tell everything above 1080p is forced to encode against AV1 or VP9

  • @pranavjain1038
    @pranavjain1038 Місяць тому

    any lightweight distro recommendations?

  • @mohammadasghari466
    @mohammadasghari466 Місяць тому

    How did you install tuxedo os with kde plasma 6?

  • @truck.-kun.
    @truck.-kun. Місяць тому

    Good video

  • @ArefinKarim
    @ArefinKarim Місяць тому

    Honestly how good is power-profiles-daemon? Using it as it has good integration with plasma like when you are on low battery, how can choose what governor you can use, same goes for AC power and battery, plasma will automatically take care of it. But nowadays, tlp and autocpu-feq arebeing praised by many Linux users.... Will i use tlp? What's your opinion?

  • @ChellSneed
    @ChellSneed Місяць тому

    God bless you.

  • @YoStu242
    @YoStu242 Місяць тому

    Not sure if TLP is doing anything on my laptop. When I tried to limit power usage and cpu (i5-3210M) frequency it didn't seem to work. Service starts and is running on AC mode normally when connected to mains. Also the only way I'm able to use TLP-ui seem to be flatpak and I hate it when each app takes 3,5GB of space

  • @toxiccan175
    @toxiccan175 Місяць тому

    How do I check if my browsers w3m and lynx are using graphical acceleration 🤔

  • @janjansen6263
    @janjansen6263 Місяць тому

    I’m a autocpufreq user but l will try TLP after seeing this video

  • @TheRadmin1724
    @TheRadmin1724 Місяць тому

    I really wish I could use hybrid graphics mode but I actually have issues:
    -Mainly on X11, on my dGPU, whenever I have Steam open, dGPU output lags a whole bunch (basically ALL external monitors have this issue)
    -Can't use Wayland either, if I unplug all external monitors and try to use the internal display (which is iGPU), the entire system locks up. This issue seems to be KDE specific as it doesn't happen on GNOME.
    If anyone knows what's happening please let me know, this is my hardware: ThinkPad P52, Intel UHD 630, NVIDIA Quadro P3200 Max-Q

  • @ivv3393
    @ivv3393 Місяць тому

    guys I am planning to buy lenovo legion 5 gaming laptop, and also I will install nobara. Is there any suggestion for battery life and nvidia optimus, mux switch , gpu-passthrough and any laptop things. please replay if you can help.

  • @KavinSood-pk9br
    @KavinSood-pk9br Місяць тому

    I was hoping for a more comprehensive analysis, comparing tlp, powertop, autocpu-freq and gnome-power-profiles daemon. Do appreciate the tips on GPU rendering.

  • @michaelmcdonald3275
    @michaelmcdonald3275 Місяць тому

    Ther is an app named corectrl relevant to this video. You can have some control over AMD GPU's with it also.

  • @elu9780
    @elu9780 Місяць тому

    My laptop is pretty low-end and is cooled passively, but it can get around 24 hours of battery life if I just use basic word processing. I have not properly tested it, merely calculated it with the amount of charge I lost during a certain time period. If I do gaming, loading all 4 cores at least halfway, I get a bit over 5 hours. For those who wonder, it's Haier S424 with Pentium N4200, 4GB of RAM, no dGPU, a SATA M.2 SSD, and a new 5000mAh battery.

  • @cnr_0778
    @cnr_0778 Місяць тому +1

    Are you sure nVidia supports hardware accelerated decoding in the browser? They do not support VA-API at all (at least not without installing a translation layer).

    • @TheLinuxEXP
      @TheLinuxEXP  Місяць тому

      You need another package (vdpau for Nvidia, I think) but most sisters install that alongside their Nvidia drivers :)

    • @cnr_0778
      @cnr_0778 Місяць тому

      @@TheLinuxEXP Hmm. I don't think VDPAU is supported in most browsers. Firefox and Chromium certainly don't.
      You'd have to set up and install the nvidia-vaapi driver to get decent decoding. This is not installed by default on any distro afaik.

  • @KCKingcollin
    @KCKingcollin Місяць тому +5

    A great video idea

  • @peep25100
    @peep25100 Місяць тому

    First time after installing fedora I had a problem with Firefox that it was taking 100 % of one cpu core all the time. At first was really disappointed that computer was loud and went through battery in half an hour, but when I noticed that Firefox is doing weird things I killed process and reinstalled Firefox, and now when I use the battery it isn't lasting noticeably less than on windows and computer doesn't spool up randomly because of windows update. So overall I have a quieter system now.

  • @ChaosTheory666
    @ChaosTheory666 Місяць тому

    Seems my tlp config didn't stick because conservation mode wasn't enabled by default, so I had to echo 1 to the conservation_mode file (listed in tlp-stat -b) which was fairly straightforwardly explained in tlpui. Should have cared about this earlier (I think I gave up at some point) since my battery has mostly been at 100% for 1.5yr on my laptop. Health says 96%. Eh, better late than never...

  • @archip8021
    @archip8021 Місяць тому

    How's nouveau vs nvidia drivers in terms of battery usage?

  • @dedoyxp
    @dedoyxp Місяць тому

    2:57 on Hardware acceleration, last time I use Chromium based browser on linux there is buggy, so software render is the only choice and it is sucks for battery
    Hope it already fixed next time I use linux again (soon when 24.04 ubuntu comes out)

  • @fenrir7969
    @fenrir7969 Місяць тому

    You forgot the big one, undervolting!

  • @historybugs
    @historybugs Місяць тому

    TLP settings should be available as default in every distros settings page. I am using Linux for 20 years and one and only reason that i am still using Windows is the lack of GPU features in Linux such as hardware acceleration, HDR video etc. Ir is mind boggling that we are still forced to fix via entering some commands in every distro to activate GPU acceleration

  • @yeah493
    @yeah493 Місяць тому

    is tlp necessary if you use power profiles built into your desktop?

    • @Crackalacking_Z
      @Crackalacking_Z Місяць тому +2

      TLP provides way more granular control and it can make a lot of difference at the end of the day when on battery.

  • @ismatovsanjarbek
    @ismatovsanjarbek 20 днів тому

    I use auto-cpufreq + powertop. I used TLP before. But I don't know which is better

  • @judymofficialchannel6377
    @judymofficialchannel6377 Місяць тому

    I have the same problem, will this work for Ubuntu distro?

  • @froid_san
    @froid_san Місяць тому

    I'm always having problems with this on linux on the same intel hardware on windows idle my desktop consumes about 8w, but on ubuntu server it idles on 20w, TLP only lowers it to 17w. since I'm using this as a home server I much want it to idle at 8w like on windows to save on power. it much worst on my AMD hardware where it idles at 30w

  • @Dew4lk
    @Dew4lk Місяць тому

    Whats the best distro for kde?

  • @EugeniusNaumenco
    @EugeniusNaumenco Місяць тому

    my laptops are always on charge when I use them. what I noticed tho that sleep mode is perfect on Linux, no battery drain at all, whereas this feature seems to be useless on Windows

  • @ristekostadinov2820
    @ristekostadinov2820 Місяць тому

    My laptop gets around 2 - 2hr 30min of battery life on ubuntu, and mind you the laptop is 3 years old with 33 Wh Li-po battery (cheaper chemistry that don't last as much as Li-on). At the moment the battery have 71% health which is surprising i never had a laptop in my life that had a relatively healthy battery after 2 years of usage.

  • @bharatkumar6458
    @bharatkumar6458 Місяць тому

    i use tuxedo control center but i dont see much of battery improvement with lowered cpu clock speed.

  • @Ghennesph
    @Ghennesph Місяць тому

    I switched to linux and gained battery life and performance in some gaming, especially emulation, on gpdwin2. Went from "Metroid prime is >20% slow at 12w" to "Metroid Prime is 0% slow at 10w".