Saving Power on a Linux Laptop

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 พ.ย. 2024

ความคิดเห็น • 506

  • @DannyMexen9
    @DannyMexen9 3 ปีที่แล้ว +318

    This is what Linux TH-cam channels are best at. Thanks, Chris. Do these types of video more.

    • @ChrisTitusTech
      @ChrisTitusTech  3 ปีที่แล้ว +30

      You got it 😉

    • @marcg3923
      @marcg3923 2 ปีที่แล้ว

      @@ChrisTitusTech you owe me a laptop charger, this program makes cpu run above the Maximum frequency, and the laptop charger smoked and got damaged

    • @akiraarchangel2911
      @akiraarchangel2911 2 ปีที่แล้ว +1

      @@marcg3923 XD XD XD

    • @danteoviedo5347
      @danteoviedo5347 ปีที่แล้ว

      ​@@marcg3923😂😂😂 you should have bot installed TLP

  • @lightninguru26
    @lightninguru26 3 ปีที่แล้ว +191

    So happy you covered this package. Adnan deserves the recognition for his work. Such a underrated and unknown gem.

    • @lightninguru26
      @lightninguru26 3 ปีที่แล้ว +6

      @@AdnanHodzic I appreciate you!

    • @sarcasm1015
      @sarcasm1015 3 ปีที่แล้ว +1

      @@AdnanHodzic 😲😲😲😲😲 wow

  • @ripe_apple
    @ripe_apple 2 ปีที่แล้ว +12

    I was frustrated with my laptop for lack of battery life, followed your suggestion and man I am loving it, Thanks Chris 👍

  • @tanchelm
    @tanchelm ปีที่แล้ว +20

    Before to install auto-cpufreq my cpu usage it was always at over 50% when i was watching youtube, but now is around 10-14% that's amazing. Also the battery life improved 2x.

    • @Shubhampalzy
      @Shubhampalzy ปีที่แล้ว +1

      i am thinking of installing Mint.
      currently my windows OS gives me around 5-6 hours of SOT , will using this AutoFreq and Mint give me equivalent or better battery life with same performance ?

    • @icyycore
      @icyycore ปีที่แล้ว

      ​@@Shubhampalzyit switched from power saving to performance depending what you're doing, so you'll get equivalent performance for less power usage

  • @rushi7312
    @rushi7312 ปีที่แล้ว +10

    I am not sure I agree with what Chris is saying in this one.
    I used autocpufreq on Arch with a relatively minimal hyprland install. I couldn't get my laptop under 8W idle.
    Now I use TLP with nixos and hyprland, and I go down to 4W with usable brightness when idle.
    Under small offline workload (i.e. taking notes with Marktext and a few Evince windows open), it draws 5-6W. My battery is old and only has 35-40Wh left out of the 59 it had, yet the laptop can handle 4-5h of low workload just fine.
    For reference I have an i5-9300H
    PS: for those who say this kind of technology is useless, I ain't sure about that, as out of the box after any install, the laptop usually draws 11-14W!

  • @fannah24
    @fannah24 3 ปีที่แล้ว +169

    Thought you were going to install through snap. Don't scare me like that lmao.

    • @ChrisTitusTech
      @ChrisTitusTech  3 ปีที่แล้ว +28

      😂

    • @EdwardSnowden125
      @EdwardSnowden125 3 ปีที่แล้ว +6

      What's wrong with snaps?

    • @fannah24
      @fannah24 3 ปีที่แล้ว +31

      @@EdwardSnowden125 Other people complains that its slow and forced updates. For me its the snap store being proprietary and being shoved by Canonical. In the end its Linux, do what the hell you want, you own your OS
      edit : pretty sure Chris has a video about it

    • @spagettech
      @spagettech 3 ปีที่แล้ว +6

      I love how its just in the aur

    • @fuseteam
      @fuseteam 3 ปีที่แล้ว +8

      @@EdwardSnowden125 nothing, some people just have Windows PTSD

  • @Amogh-Dongre
    @Amogh-Dongre 3 ปีที่แล้ว +23

    I actually used to just undervolt my cpu and gpu using tuxclocker and amd-clocks and boy did it help power consumption noise but more importantly battery life went from around 3-3.5hrs to a full fat 8hrs while web browsing and lightly threaded work and from 2 hrs to about 4hrs when under full load and this is without losing a drop of performance.....I'll definitely check this out thank you Chris for this (all of the testing was done on my asus dash 15)

    • @FeelingShred
      @FeelingShred 2 ปีที่แล้ว +1

      did you do that with what CPU models exactly? intel? ryzen? APU? mine is 3500U...

    • @FeelingShred
      @FeelingShred 2 ปีที่แล้ว +1

      can you share what commands did you use to achieve that?

    • @finnk1289
      @finnk1289 2 ปีที่แล้ว +1

      @@FeelingShred Yeah I'm curious about this. Undervolting my AMD cpu seems tedious and has many dependencies.

    • @FeelingShred
      @FeelingShred 2 ปีที่แล้ว +1

      @@finnk1289 yeah, you can notice how these linux guys are so "compassionate" and how they love the "open source" mentality only when it benefits them

    • @FeelingShred
      @FeelingShred 2 ปีที่แล้ว +1

      @@finnk1289 2 months gone by and the guy disappears, it's not willing to share what commands he used to achieve the results

  • @kinshukgoel4609
    @kinshukgoel4609 3 ปีที่แล้ว +17

    Ever since I started using this yesterday, I've gotten MUCH more battery life than before
    Thanks Chris!

  • @shaswatdas6553
    @shaswatdas6553 3 ปีที่แล้ว +46

    "it works with tlp" means turbo boost stays on when both tlp and autocpufreq is installed. Additionally tlp manages usb power and other things to increase battery life.

    • @fuseteam
      @fuseteam 3 ปีที่แล้ว

      what about if tlp, autofreq and powertop is installed? 🤪🤪🤪

    • @orrotico1177
      @orrotico1177 3 ปีที่แล้ว +3

      ​@@fuseteam I stopped using TLP. I Tested my machine with: TLP-powertop (powertop itself does nothing, what really worth is the tunnable tab), TLP-autocpu-freq and with auto-cpufreq-powertop. After the tests I decided to uninstall TLP, because I got the best battery and performance with just powertop-auto-cpufreq. What I really use to configure the powertop advices is "tuned-adm" which can be installed with the "tuned-utils" package. I created the powertop profile with one utility in that package and I configure the scripts with most of the "Tunnables" proposed by Powertop (I DON'T use all the advices, there are some of them that I detected provoke bad behaviors in my laptop, for example, I was having issues with the "tuned" bluetooth because after suspending my machine I was not able to connect anything (so I removed that part of the powertop script).

    • @fuseteam
      @fuseteam 3 ปีที่แล้ว +2

      @@orrotico1177 oh interesting find, thanks for sharing

    • @orrotico1177
      @orrotico1177 3 ปีที่แล้ว

      @@burhanbudak6041 I tested it too, however, Slimbook battery is based in TLP. It was like another UI for TLP. At this moment, I am just using just the scripts generated with powertop, and some scripts I created to get the cpu in the lower freq possible and boost always disabled (of course, this when the laptop is ik battery mode). In my case, it is more important to keep the consumption as low as possible, over the performance. Auto-cpufreq is still installed in my machine, in case I need to enable it again in some specific moment.

    • @Shubhampalzy
      @Shubhampalzy ปีที่แล้ว

      i am thinking of installing Mint.
      currently my windows OS gives me around 5-6 hours of SOT , will using this AutoFreq and Mint give me equivalent or better battery life with same performance ?

  • @Fred-oliveiriks
    @Fred-oliveiriks 3 ปีที่แล้ว +22

    I've used this in the past. Just a heads up: TLP does NOT disable turbo boost unless you specify it in the config file.
    I install tlp on all my machines to better control the max/minimum frequencies. You should read the config file from top to bottom, i never heard about TLP sucking because it turns off turbo boost

    • @FeelingShred
      @FeelingShred 2 ปีที่แล้ว +3

      isn't it dangerous locking up AMD Ryzen chips into the lowest possible frequency? I think I read something about that somewhere, memory is fuzzy

    • @islammu9207
      @islammu9207 ปีที่แล้ว +4

      turbo boost is disabled by default on battery mode.

  • @vladislavkaras491
    @vladislavkaras491 2 ปีที่แล้ว +33

    Great video.
    Would be also cool to see some kind of benchmark of battery and performance. With/without all those utillities.
    Thanks!

  • @castyweb
    @castyweb 2 ปีที่แล้ว +6

    This is amaaazing 🙂 !! This tool just completely change my battery life with Linux. This tool must be shared all over the Linux community. The power save is a huge constraint for users when they consider to switch to Linux on a laptop. Thank you so much for this video. TLP does nothing compared to this tool....

  • @mata4232
    @mata4232 3 ปีที่แล้ว +124

    Don't need power saving when your battery is dead..

    • @tobiasbki443
      @tobiasbki443 3 ปีที่แล้ว +6

      sure, you save money on your energy bill and can buy a new battery. :D

    • @call_me_stan5887
      @call_me_stan5887 3 ปีที่แล้ว

      Oh, you still do in order to preserve your HWs life. No need to go full blast all the time - heat is a b*tch

    • @commandcracker42
      @commandcracker42 6 หลายเดือนก่อน +7

      Battery sounds like bloatware

    • @amalirfan
      @amalirfan 5 หลายเดือนก่อน +1

      Yeah, my laptop been running without a battery for months now 😅

  • @_sneer_
    @_sneer_ 2 ปีที่แล้ว +3

    It's been a while since I have had a laptop... until recently. You're a life saver, Chris. Running that on my 11.6 inch Asus with Kali. Thanks!

  • @mfatihy_
    @mfatihy_ 3 ปีที่แล้ว +5

    I switched to MATE from GNOME a few months ago and it increased the battery life dramatically

    • @call_me_stan5887
      @call_me_stan5887 2 ปีที่แล้ว

      I am using xfce - no complaints too.

  • @OcteractSG
    @OcteractSG 2 ปีที่แล้ว +10

    Good to know. Laptops still have challenges due to having screen backlights and touchpads. When a manufacturer (like Synaptics) does not play ball with the Linux Kernel developers, user experience can really suffer.

  • @AnzanHoshinRoshi
    @AnzanHoshinRoshi 3 ปีที่แล้ว +32

    Thank you, Chris. Huh. I've never had any problem on refurbished Thinkpads and so on. I'll look into this.

  • @lucienreyes9
    @lucienreyes9 3 ปีที่แล้ว +31

    This is so relevant
    Been waiting a long time

  • @Mark3xtrm
    @Mark3xtrm ปีที่แล้ว +3

    Ehi, Chris, nice video!
    The only downside of auto-cpufreq is that it slows down a little bit everything, even on performance mode. But it's normal for what it does. It'd be great if he add some toggle to completely disable it, maybe through a systray icon or some nice shortcut

  • @websiterepairguy
    @websiterepairguy 2 ปีที่แล้ว +5

    Wonderful utility! My charger/power brick was as warm as a lightbulb in my hands. Hoping for cooler temps! I've installed it and will evaluate over next few days.

    • @mart2942
      @mart2942 ปีที่แล้ว

      do you still have to charge it often or did it 'multiply' your battery life

    • @websiterepairguy
      @websiterepairguy ปีที่แล้ว

      @@mart2942 It should multiply your battery life. It is hard for me to judge precisely as I use suspend mode a lot. I tend to work on my laptop a few minutes and then suspend power by closing the laptop lid. In my case, one charge lasts all day. However, I'm not a typical user. Since I use my laptop intermittently, and since I'm mostly using it to write things down, I find it annoying to be using all that power for no good reason. Hence my appreciation of this utility.

    • @Shubhampalzy
      @Shubhampalzy ปีที่แล้ว

      i am thinking of installing Mint.
      currently my windows OS gives me around 5-6 hours of SOT , will using this AutoFreq and Mint give me equivalent or better battery life with same performance ?

    • @websiterepairguy
      @websiterepairguy ปีที่แล้ว

      Hard to say. There are settings you can tinker with such as having the screen fade after a few minutes when you step away from your computer. Hard to say if this helps in your situation as I don't know how continuously you use your computer. Might take more tinkering to get what you want --- if it is possible. Not like Windows where one setting takes care of it all.

  • @badral-balushi5911
    @badral-balushi5911 2 ปีที่แล้ว +4

    The power was one of the main issues I noticed moving to linux, thanks for find the solution and share it with us .. nowadays everthing is moving towards the "on the go" life style, so this is a great step towards that, again thank you so much 😄

    • @badral-balushi5911
      @badral-balushi5911 2 ปีที่แล้ว

      I'm using a mobile web browser instead of the youtube app so I cant correct the typo mistakes, so excuse me in that 😜

    • @Shubhampalzy
      @Shubhampalzy ปีที่แล้ว

      i am thinking of installing Mint.
      currently my windows OS gives me around 5-6 hours of SOT , will using this AutoFreq and Mint give me equivalent or better battery life with same performance ?

    • @badral-balushi5911
      @badral-balushi5911 ปีที่แล้ว

      @@Shubhampalzy what can I say! I'm facing problems installing the app, earlier I did not have this problem but now I don't know how to resolve it ... I'm using Debian. So instead now I'm using tlp, I still need time to get a real sense of how long the batteries last but honestly it feels forever 😄

    • @kin5033
      @kin5033 3 หลายเดือนก่อน +1

      ​@@badral-balushi5911how about now? is the battery life better on linux than what you had on windows?

    • @badral-balushi5911
      @badral-balushi5911 3 หลายเดือนก่อน +1

      @@kin5033 yes it's much better but in some distros I don't know how they achieve good battery consumption but they do it, like Linux Lite

  • @papagandalf9411
    @papagandalf9411 3 ปีที่แล้ว +1

    Recently revived my 2013 laptop with Solus. Glad I found this guide to make the lappy act close to "latest". Thanks Chris.

  • @Lambonights
    @Lambonights 3 ปีที่แล้ว +11

    Thank you for this Chris as my laptop can only run for 3 hours on battery with Linux Mint! So I will give this a try. :)

    • @FeelingShred
      @FeelingShred 2 ปีที่แล้ว +1

      update on the subject? did it work?

    • @FeelingShred
      @FeelingShred 2 ปีที่แล้ว +2

      my Ryzen laptop idles at 41 C degrees on Linux but it goes down to 34 C degrees on Windows 10... something tells me that the cpu is not being able to rest properly on linux

    • @tropicalkhan3955
      @tropicalkhan3955 2 ปีที่แล้ว +1

      @@FeelingShred im a little late but have u tried using vsync?

    • @FeelingShred
      @FeelingShred 2 ปีที่แล้ว

      I ended up switching back to Windows 10 for a myriad of other reasons that Linux wasn't able to get their shit together... But anyway, battery life also sucks on Windows 10, I found the problem is with AMD chips in general, it's so curious to me their marketing team seems to focus on this "low power consumption" trend, but when you really notice it your battery rarely lasts more than 2 and a half hours... even my 2009 laptop achieved more battery life than this... AWFUL...

    • @FeelingShred
      @FeelingShred 2 ปีที่แล้ว

      same reason why people have been avoiding the Steam Deck as well: AMD chips are DOGSHIT at battery life (despite of being Low Power) Something is wrong with their engineering

  • @stokinbusuklagenda2963
    @stokinbusuklagenda2963 ปีที่แล้ว +2

    YOU ARE A LIFE SAVER!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @uzumakiuchiha7678
    @uzumakiuchiha7678 3 ปีที่แล้ว +2

    This is why I like this guy , he gives ways you can't find easily

  • @winmac2565
    @winmac2565 ปีที่แล้ว +2

    This literally improved my battery life by nearly 50%. I'm so happy, definitely subscribing for more content!

    • @p21072
      @p21072 ปีที่แล้ว +3

      can you tell me how many hours of battery life you would get before using this tool and how many hours of battery life you get now and also how many hours of battery life were you able to get while using windows cuz i'm planning to switch from windows to ubuntu
      on my laptop

    • @Shubhampalzy
      @Shubhampalzy ปีที่แล้ว

      please reply to the above comment mate.
      i have the same doubts

    • @winmac2565
      @winmac2565 ปีที่แล้ว

      @@p21072 For my particular Dell XPS 13Plus I was able to add around 2+ hours to my already 7+ hours on Windows.

  • @xorycx
    @xorycx ปีที่แล้ว +1

    Since I'm using a laptop just for work, this tool along with TLP is working really great, I have my PC gamer and a PS5 for gaming puporses. So I don't care much about turbo boost. Thanks for sharing this Chris.

  • @firstsecond753
    @firstsecond753 3 ปีที่แล้ว +2

    Stop watching this man !!! Bcz you gonna be addicted to his videos !! I love you, yoU're the best

  • @Solarsystemrdffdfyyhh
    @Solarsystemrdffdfyyhh ปีที่แล้ว +1

    E6410 max ram and processor (qm). Thank you! This works. I don't know why distros don't have this as an option. My big problem was the Heat just watching a TH-cam video on 720. I'm rediscovering just how well built the hardware is. I have bhodi Linux and it's been so much fun. Done with 11 and it's crap!

  • @jason-budney7624
    @jason-budney7624 3 ปีที่แล้ว +2

    Thanks Chris for shining some light on this project. I will be trying this very soon on my old Dell ultralight which has a small battery.

  • @Deedss91
    @Deedss91 3 ปีที่แล้ว +4

    Awesome video chris, been using auto-cpufreq for a while, but recently came across power-profiles-daemon. It's a similar project that tries to use the D-Bus to set power-profiles to save power.

    • @FeelingShred
      @FeelingShred 2 ปีที่แล้ว +3

      what about C-States on Linux? do these work on linux side of things? because my idle temps on linux never go below 41 C degrees, while they drop to 34 C on Windows

  • @espi742
    @espi742 ปีที่แล้ว +2

    Nowadays most of these tools are pointless for most modern laptops (with passable firmware implementations) and I'm so glad. It was always a rabbit hole optimizing Linux for laptops. The kernel and firmware apply all relevant and safe configurations automatically with no user input required. In fact, most of the time changing the governor won't even do anything since modern CPUs handle the clockspeed by themselves (intel_pstate and amd_pstate just use the powersave governor all the time for example, even when plugged in, without disabling turbo or anything).
    The only tool I use is power-profiles-daemon, which just hints to the firmware whether I want performance or efficiency.

    • @manuelrivera6778
      @manuelrivera6778 9 หลายเดือนก่อน +1

      Power-profiles-daemon sounds good, I’ve read it around 2-3 times already.

    • @RayBlaxe
      @RayBlaxe 9 หลายเดือนก่อน +1

      what are the border between modern laptop and older laptop, like what generation on intel or on amd?

  • @jimharris6213
    @jimharris6213 3 ปีที่แล้ว +2

    Thank you, thank you, thank you. I thought TLP was the only program that was saving power. This program is amazing.

  • @xnonsuchx
    @xnonsuchx 3 ปีที่แล้ว +12

    I think this is another big issue with personal use Linux... You have to find power-saving stuff on your own instead of having it built-in and live (or at least asking if you want to enable such a thing).

    • @ChrisTitusTech
      @ChrisTitusTech  3 ปีที่แล้ว +11

      Yeah, in the next couple years you will see this become more mainstream.

    • @saho9447
      @saho9447 3 ปีที่แล้ว

      It's build in on Garuda Linux

    • @xnonsuchx
      @xnonsuchx 3 ปีที่แล้ว

      @@ChrisTitusTech I have Fedora on my 2014 Macbook Pro, but haven't actually checked. With it being more bleeding edge (at least for kernel versions), I should check its power-related stuff.

    • @call_me_stan5887
      @call_me_stan5887 3 ปีที่แล้ว +5

      @@ChrisTitusTech which begs a question why isn't it mainstream already - various distros aspire to be user friendly (such as ubuntu or mint) yet they fail to deliver basic functionality.

    • @FeelingShred
      @FeelingShred 2 ปีที่แล้ว

      @@call_me_stan5887 Exactly... As far as I know, MX Linux and Manjaro are one of the few distros that have a focus on providing tools to make use of hardware recently released in the market... I just bought a Ryzen APU laptop recently and needed that, but I'm still noticing issues when compared to Windows... for example CPU on idle is 10 C degrees hotter on linux, the cpu is not able to rest while on battery

  • @sudhanshusrivastava5663
    @sudhanshusrivastava5663 3 ปีที่แล้ว

    I was completely frustrated from sometime due to the power consumption of linux and I gave up my hopes. Then this video dropped. Thy Saviour. Thank you

    • @arcknight_bk2o183
      @arcknight_bk2o183 3 ปีที่แล้ว

      And did the battery standby improve after using this? I feel like it doesn't help much.

  • @SuperVista64
    @SuperVista64 3 ปีที่แล้ว +6

    I think thats depend on the CPU because my i5 7300HQ has intel_pstate,so it dinamically downclock or upperclock the speed depending on the demand just like auto-cpufreq does,so in my case I just use TLP and my laptop (Dell 7567 and just using Intel iGPU) can last for 6 hours just like when I was in Windows.

    • @EduardoBattaglia
      @EduardoBattaglia 3 ปีที่แล้ว +3

      Exactly, this is an OLD solution for a problem that been solved for years.

    • @FeelingShred
      @FeelingShred 2 ปีที่แล้ว

      there is some ill-advised stuff on this video too, the guy recommends using a tool that will, according to him, "switch between Performance and Powersave" governors... OMG this is completely unnecessary and will be even dangerous, leading to higher temperatures, damage, etc

    • @FeelingShred
      @FeelingShred 2 ปีที่แล้ว

      linux already comes with frequency controller by default, there's no need to switch back and forth like that... Conservative governor, Ondemand governor... Manjaro for example uses the more sophisticated Schedutil governor, more suited to recently released hardware

    • @FeelingShred
      @FeelingShred 2 ปีที่แล้ว +1

      the problem is not cpu frequency at all... the problem is why temperatures are always higher on linux, therefore indicating that Linux is not able to let the cpu rest on idle like they do on windows... mine is 10 degrees hotter on linux on idle

    • @FeelingShred
      @FeelingShred 2 ปีที่แล้ว

      haven't found a solution for that so far

  • @69k_gold
    @69k_gold 6 หลายเดือนก่อน +2

    Videos like this are gonna be really helpful in the Windows to Linux wave that's coming at the end of 2025

    • @Zvsnsbsb
      @Zvsnsbsb 2 หลายเดือนก่อน

      Linux plus greater battery life than windows = happiness

  • @chotu-tv-12
    @chotu-tv-12 3 ปีที่แล้ว +1

    just great video sir you are my favorite TH-camr and I feel you have thought me a lot. I have a dual boot of Manjaro and Windows 10 and I just prefer using Linux for any work, Just love it

  • @suraj9519
    @suraj9519 3 ปีที่แล้ว +12

    Pls make on video on how you switch between graphics cards on your laptop

    • @TheNomisNidnull
      @TheNomisNidnull 3 ปีที่แล้ว

      YES! I need this so much!

    • @sevenracing3092
      @sevenracing3092 3 ปีที่แล้ว +2

      This can depend pretty heavily on what distro you are running. Ubuntu, Linux Mint and Pop OS all have their own tools for doing this. If using one of these distro's it's as simple as right clicking an icon and selecting the GPU you want to use (Integrated, Graphics Card or Hybrid). For all Arch based distro's there is optimus-manager. This does need a little bit of user configuration and trial and error, but is easy enough to setup with the relevant documentation on the GitHub page. There is also a GUI for Optimus-Manager, however I've never felt the need to install it.
      I should also mention, I'm speaking about these tools from a Nvidia user POV. I don't know if the same applies for AMD user's.

    • @suraj9519
      @suraj9519 3 ปีที่แล้ว

      @@sevenracing3092 thanks a lot , I’ll look into
      Optimus-manager

  • @zawiasfx
    @zawiasfx ปีที่แล้ว +3

    hmm i knowe its year old but... has tlp enchanced that much since this video? it also manages cpu freqs fine, allow to enable/disable turbo per mode (plugged/battery) and they work fine. also has good stuff, like charge limit (which i cant find in autocpufreq) oob without messing around with systemd units and more. with just tlp 1.5 im getting similar battery life to windows (kubuntu 22.10, asus zenbook with 8th gen intel)

  • @ChrisFaulkner
    @ChrisFaulkner 3 ปีที่แล้ว +4

    Thanks Chris, gonna install that on my Garuda install

  • @slicer2938
    @slicer2938 ปีที่แล้ว +1

    honestly just from the first 10 seconds of the video it kind of depends. my laptop has jumped from maybe only lasting 3-4 hours from full charge to 12-14 hours using pop os

  • @__viperML
    @__viperML 3 ปีที่แล้ว +2

    I have been using custom ACPID rules to change the scaling governor, but this seems much easier. Just install, enable and forget

  • @StefanSchindewolf
    @StefanSchindewolf 3 ปีที่แล้ว +6

    Thank you, Chris! I installed it on my Thinkpad X380 Yoga and it increased battery life from 4-5 hours to 8-9 hours. How is this even possible?

    • @yasiranower7045
      @yasiranower7045 3 ปีที่แล้ว

      what distro are you using?

    • @StefanSchindewolf
      @StefanSchindewolf 3 ปีที่แล้ว +2

      @@yasiranower7045 Kubuntu 20.04
      I just followed Chris' instructions and since then happy life 😉

    • @yasiranower7045
      @yasiranower7045 3 ปีที่แล้ว

      @@StefanSchindewolf what would be better Kubuntu or Fedora or Solus?
      I am using Fedora rn
      My main importance is battery life

    • @StefanSchindewolf
      @StefanSchindewolf 3 ปีที่แล้ว

      @@yasiranower7045 I think in terms of Power management you have two choices: either accept some "waste" but enjoy the comfort of a Desktop Environment (there are some lightweight ones like XFCE) or be rallye lean by using a window Manager.
      The distro does not matter so much- the larger distros all seem to perform the same with regards to Power management.

    • @yasiranower7045
      @yasiranower7045 3 ปีที่แล้ว

      @@StefanSchindewolf from what i have seen even the same DE on different distros perform different
      Elementary OS and Pop Os both use gnome
      But I have noticed awesome battery life on eOS than Pop
      I guess I have to try all the distros to find my better option

  • @ingog.8424
    @ingog.8424 3 ปีที่แล้ว +5

    I would actually like to use a balanced power mode (like in Windows) on my Linux Desktop-PC, yes to save power in idle and low load. I wonder if I can somehow enforce that with this tool.

    • @call_me_stan5887
      @call_me_stan5887 2 ปีที่แล้ว

      To some extent you can set it by using tlp alone.

  • @shubham868
    @shubham868 3 ปีที่แล้ว +2

    This video was the need of the hour.
    I use Linux and I was looking for this video.
    thanks.

    • @Shubhampalzy
      @Shubhampalzy ปีที่แล้ว

      i am thinking of installing Mint.
      currently my windows OS gives me around 5-6 hours of SOT , will using this AutoFreq and Mint give me equivalent or better battery life with same performance ?

  • @AlanDike
    @AlanDike 6 หลายเดือนก่อน

    I'm using TLP right now, and I'm seeing 6 hours on it. It goes into powersave when I'm on battery, and performance when I'm on AC. I dunno if TLP has changed in the last 2 years.. but I've been really impressed with it so far. It's as good as my windows install battery life wise. Granted I'm only streaming videos with it. I've been severely underwhelmed with my gaming experience on this laptop. Switching between NVIDIA and my intel graphics does result in a change.. but NOTHING like it does in windows. Luckily my intel graphics are good enough for most of my gaming needs.

  • @damagethis
    @damagethis ปีที่แล้ว

    A great video Chris, I miss when you made helpful videos like this, please keep them coming!

  • @alejandrolozanoteran6023
    @alejandrolozanoteran6023 3 ปีที่แล้ว +2

    Unfortunately, it doesn't work on a MacBook Pro with Fedora 34. The battery only lasts 3 hrs. with or without this tool.

    • @monochrome_linux
      @monochrome_linux 2 ปีที่แล้ว

      Well that's sad. I'm on a 2019 MacBook Pro running on Fedora 36 and battery is just 3 hours like yours. My battery has been through 600 or so cycles so that could be it as well.

  • @RolandRolfsson
    @RolandRolfsson 3 ปีที่แล้ว

    gr8 tip, Chris! Using it on laptop from now on... !
    Keep things like this coming ;)

  • @mattiasamiolo5277
    @mattiasamiolo5277 2 ปีที่แล้ว

    Amazing!! It works perfectly fine, I have used the installation script with Fedora 35

  • @TradersTradingEdge
    @TradersTradingEdge 3 ปีที่แล้ว

    Thanks Chris, that's a fantastic hint.
    Donated to the developer - everyone should do who is using it.

  • @fairandfree9824
    @fairandfree9824 3 ปีที่แล้ว +5

    Chris, I am confused. Linux is a lightweight system which is obviously true as it can easily be installed and used on old hardware without issue. However, you are saying it eats battery life on laptops (I am experiencing this now as I recently installed vanilla Debian with KDE Plasma on my 2010 MacBook Pro). How can both be true at the same time?

    • @MrQuay03
      @MrQuay03 7 หลายเดือนก่อน

      Because manufacturers don't make good drivers/firmware for Linux (only a few % of the market use Linux, why support them?)

  • @RiggsTek
    @RiggsTek 3 ปีที่แล้ว +4

    Awesome!. Thank you Chris!

  • @russellraff6069
    @russellraff6069 2 ปีที่แล้ว

    New to me, just finished install and working like a charm ...Thanx Chris :)

  • @hunterbrooks826
    @hunterbrooks826 3 ปีที่แล้ว +1

    Thanks, computer Lars! (you look kind of like Lars Ulrich but less douchy). I have been running PopOs to get my 3 year old gaming laptop to work properly. It never worked right on Winblows. I learned how to use linux in cs classes several years ago but battery on laptops has always been a problem. I am having to use this slightly old gaming laptop as my computer for freelance web development until I earn enough to justify an ultrabook purchase. It's nice to get more than 15 minutes out of it now. Once again thanks.

  • @3irenic
    @3irenic 3 ปีที่แล้ว +1

    Thank you Chris👍🏾. I noticed that linux is power when I was no longer working from home.

  • @aram7017
    @aram7017 3 ปีที่แล้ว +6

    man i installed tlp and i use the thinkpad extended battery and now it last 8 hours

    • @aram7017
      @aram7017 3 ปีที่แล้ว

      @NewAccount 1974 awesome i may try it out too

    • @Praxss
      @Praxss 3 ปีที่แล้ว +1

      TLP was made for ThinkPads

  • @MrKetchupFreak
    @MrKetchupFreak 3 ปีที่แล้ว

    Hi, first of all thank you for your review! I need some information; I'm not a tech person, so someone please explain the following:
    - If I install this on any laptop I have at home, old and new, then my battery life will improve dramatically?
    - If I install just TLP, it will help a little bit but also reduce performance, for example when video editing?
    - If I install this and TLP (or other similar software), it will prolong the battery life even more, but slow down the cpu?
    - How does it work? It understands what you are doing, when the cpu is in need of power and when not, when you are plugged in and when you are not, etc... Correct?
    - Will it also help with cpu temperatures and fan noise?
    - Can you change the settings like in Windows (battery saver, balanced, performance)?
    - Is it safe? Is it not a vulnerability or potential malware?
    - How come this type of software isn't implemented in Linux distros like Ubuntu by default?
    Please, answer only if you really understand and know a bit about this topic. Thank you all!

    • @call_me_stan5887
      @call_me_stan5887 3 ปีที่แล้ว +1

      you need to configure TLP yourself if you want it to really work. Don't just leave it on default because weird stuff might happen. Be sure to read-through the manual on what everything does.

    • @MrKetchupFreak
      @MrKetchupFreak 3 ปีที่แล้ว

      @@call_me_stan5887 Thank you!

  • @ergindemir7366
    @ergindemir7366 ปีที่แล้ว +1

    I have tested this tool with ryzen 5625u and the result is far from ideal. The cpu min freq with this tool is 1600mhz while on windows it's less than 400mhz, so the battery life on windows is much better.

  • @matepozzo
    @matepozzo 9 หลายเดือนก่อน +1

    what amazes me is that windows 11 is so bloated that my laptop has shorter battery lifetime on it than in debian without any of this packages

  • @ArniesTech
    @ArniesTech 2 ปีที่แล้ว +2

    Rocking Ubuntu 22.04LTS on my Lenovo ThinkPad T61 💪😎

  • @vladislavkaras491
    @vladislavkaras491 2 ปีที่แล้ว +2

    Would be also cool to hear, how to undervolt your CPU on Linux using software and not BIOS.
    As I have heard for Intel and AMD CPUs solutions may vary.

    • @vladislavkaras491
      @vladislavkaras491 2 ปีที่แล้ว +1

      Also, I have not seen any videos on your channel about undervolting GPUs under Linux as well.
      For AMD there is a cool utillity called CoreCtrl. Would be awesome, if you would show people how to use it.

  • @bibekdhkl
    @bibekdhkl 3 ปีที่แล้ว

    When I suggest linux os to any of my friends they just point out power management issues as the barrier to shift into linux but from now on I will suggest this video for them😎
    Thanks alot man

  • @gopalkaul843
    @gopalkaul843 3 ปีที่แล้ว +2

    Wonderful! Just now I need to figure out how to use my Integrated GPU instead of the dedicated one to save more battery

    • @sevenracing3092
      @sevenracing3092 3 ปีที่แล้ว +2

      For Ubuntu, Linux Mint and Pop OS, there is a dedicated tool that should already be installed. It's a simple right click on the icon and select which GPU to use. For all Arch based distro's (including Arch Linux) there is optimus-manager. This needs a bit of user configuration plus some trial and error, but once working you can switch between GPU's with a simple terminal command. There is also a GUI for optimus-manager, however I've never felt the need to install it.
      This is from a Nvidia user's POV, I'm not sure if the same applies to AMD users

    • @shnitzal
      @shnitzal 2 ปีที่แล้ว +1

      Since you intend to not use it then you can just disable it in your firmware settings.
      This can be done with either through your boot interface or mashing the correct key on boot. BUT there's a sure option which is rather easy: 1. open up your terminal. 2. type "sudo systemctl reboot --firmware-setup.
      Once you're in your UEFI firmware settings (or BIOS but probably UEFI these days.) go to the appropriate setting (changes between laptops so google yours) and simply change it to UMA graphics/Integrated graphics from probably either Discrete graphics/Switchable graphics.
      Hope this helps

  • @slomotrainwreck
    @slomotrainwreck 2 หลายเดือนก่อน

    Chris, thanks for the video! I am planning to install Pop!_OS on a 10+ year old ASUS G73JW-A1 gaming laptop that has a discreet nvidia 460M graphics chip. The laptop was meant to be plugged in all the time because it came with a tiny battery pack, and it can't hurt to install this app also.

  • @DannyLyriCa
    @DannyLyriCa 3 ปีที่แล้ว +1

    just tried it as I was watching your video, im impressed pretty good utility ill give it a spin for the week and see what happens! I'm on tumbleweed

    • @kentamammadli8009
      @kentamammadli8009 3 ปีที่แล้ว +1

      Soo, what was your experience like?

    • @DannyLyriCa
      @DannyLyriCa 3 ปีที่แล้ว +1

      @@kentamammadli8009 it definetly does not make window movement jittery and its exactly as it says it only adjusts based on what is happening on the pc. This utility does turn off turbo boost and downclocks but only when not required. battery life is great, is just as if i was using tlp tbh. soo yes this is good. I'm on opensuse tumbleweed.

  • @calibribold4393
    @calibribold4393 3 ปีที่แล้ว +1

    Last week I just changed the GPU to Intel HD from Nvidia because I don't need nvidia most of the time. And usage time increased by 50 percent.

  • @retpaladin593
    @retpaladin593 3 ปีที่แล้ว +3

    I am learning Linux so I installed Ubuntu in my laptop (dell), something that I noticed and hate is that the battery draining is so fast compared to my windows dual boot (from 4 hours windows to 1 hour ubuntu) so I installed tlp but I notice it decreases performance by a lot (and still draining a lot of battery). So now I will try this program to see how my laptop behave in terms of power consumption,

    • @FeelingShred
      @FeelingShred 2 ปีที่แล้ว +2

      it worries me a bit that linux uses cpufreq tool which was developed in 2009, lots of things in the CPU world happened since then... that might be one of the reasons linux is having problems to tune up cpu

    • @FeelingShred
      @FeelingShred 2 ปีที่แล้ว +1

      I'm looking for solutions too

    • @ayushanand381
      @ayushanand381 2 ปีที่แล้ว +1

      did it worked?

    • @retpaladin593
      @retpaladin593 2 ปีที่แล้ว +3

      @@ayushanand381 nah still suck

    • @FeelingShred
      @FeelingShred 2 ปีที่แล้ว

      @@retpaladin593 you mention 4 hours, same as me... is it AMD cpu too?

  • @ylluminate
    @ylluminate ปีที่แล้ว +1

    Hey Chris, could you revisit this topic just as a sanity check and perhaps focus on VM / LXC / Docker use so as to reduce host system and server demand? Seems like this could be really useful to further improve performance/energy pull for such scenarios.

  • @tanguasimtu5823
    @tanguasimtu5823 ปีที่แล้ว

    Ok this one convinced me.... I am a new subscriber....
    I've viewed a few of your videos from time to time....
    I have an older Toshiba laptop.. I recently installed Linux Mint on it...
    Put in the cellar ... set it up so that I could ssh to it... so far so good..
    Went down there today and the fan is running full speed... plenty of
    heat coming out of it... and it's not doing anything....I only plan
    to use it as a simple web server, so I don't need a lot of CPU.
    Installed auto-cpufreq... set the default in the config file for
    power saver mode when plugged in... Just checked... fan on low speed now!!!
    (My actual problem is probably more related to the battery... If the system
    is trying to continually charge a near dead battery... that could add up to the
    heat and high fan speed... so this is a nice work around..I'll still probably replace the
    battery anyway.. )
    Thanks very much... for a easy to understand and implement video...

    • @Shubhampalzy
      @Shubhampalzy ปีที่แล้ว

      i am thinking of installing Mint.
      currently my windows OS gives me around 5-6 hours of SOT , will using this AutoFreq and Mint give me equivalent or better battery life with same performance ?

  • @EdnovStormbrewer
    @EdnovStormbrewer 3 หลายเดือนก่อน

    even without this script, I'm still able to squeeze more battery life out of Artix than I ever did with Windows 11. I might try out this script. Thanks Chris Titus Tech

  • @mirmarq429
    @mirmarq429 3 ปีที่แล้ว +6

    This is in the AUR by the way. Don't feel like you're at all bound by snaps, fellow Arch users!
    I use Artix BTW

  • @williamwenig9577
    @williamwenig9577 2 ปีที่แล้ว

    This is just great. Thank you Chris! My Asus Vivobook now lasts forever :D

  • @theprimordialdude1138
    @theprimordialdude1138 3 ปีที่แล้ว +1

    It's great. So much helpful. One more thing which terminal are you(he) using???

  • @patrickc.6183
    @patrickc.6183 3 ปีที่แล้ว

    Awesome video and package :). Thanks for sharing Chris!

  • @rockymarquiss8327
    @rockymarquiss8327 ปีที่แล้ว

    Fantastic! Thank you for sharing this - just what I've been looking for!

  • @azatecas
    @azatecas 3 ปีที่แล้ว +1

    i like dell laptops because the linux drivers work very well and the battery hit isnt too bad

  • @jackkraken3888
    @jackkraken3888 10 หลายเดือนก่อน

    I wish they add an option on the welcome screen for this for newbies this would help a lot! maybe as an advanced optik for laptops?

  • @ae9739
    @ae9739 26 วันที่ผ่านมา

    According to the version 1.7.0 documentation, TLP absolutely supports frequency scaling and turbo boost. I don't know why there seems to be this misconception that it doesn't support turbo (perhaps an older version didn't?).

  • @justryanj
    @justryanj 9 หลายเดือนก่อน

    Installed Arch on an old HP probook for noob learning purposes. Def a must have pkg thanks for the great tip!

  • @finnk1289
    @finnk1289 3 ปีที่แล้ว +3

    I'd install this even on a desktop, saving power is nice to think about.
    An essential for my laptop though. Do you know of any utilities that can restrict the battery charge to 80%?

    • @SMJSmoK
      @SMJSmoK 3 ปีที่แล้ว +2

      "Do you know of any utilities that can restrict the battery charge to 80%?"
      I think it's the battery itself that needs to have this capability, so any software would just be interfacing with the battery's firmware. Older Thinkpads used to have this capability (so maybe even TLP could do it? It was created for Thinkpads, after all). Unfortunately, I don't know about any modern laptops that can do this.

    • @polgzz
      @polgzz 3 ปีที่แล้ว

      No, it is not "Windows". You need your laptop to be compatible with that, like some asus laptops.
      The file responsible for that is called "charge_control_end_threshold" and it is under "/sys/class/power_supply/BAT0/" directory. Either that, or BAT1, depending on the model.
      You have to edit that file:
      sudo nano /sys/class/power_supply/BAT0/charge_control_end_threshold
      (or BAT1, remember) and just change the 100 value to 80 or 60 (in case of asus laptops). Easy. That file doesn't even have anything else on it, just a "100". Change it, and done.
      That would be a change just for that moment. If you want to make a regular change (I do), for example to 80, you can create a "cron" job to run at every boot (install cron package if you don't have it "sudo apt install cron" or "sudo pacman -S cronie", deppending on if you use Debian/Ubuntu or Arch based. Enable the service with "sudo systemctl enable cron.service" (or cronie.service, in arch) and "sudo systemctl start cron.service" (or cronie).
      Then, edit the file /etc/crontab:
      sudo nano /etc/crontab
      and create this rule (either with 80 or 60 and either with BAT0 or BAT1, depending on which direcroty you have):
      # Change baterry threshold to 80/60
      @reboot root echo 80 > /sys/class/power_supply/BAT0/charge_control_end_threshold
      #
      Done.
      I have the cron job set to 80, that is the normal setting I have. And if I know I will need more battery, edit the file quickly to put back 100 and charge it full (and I also have an alias for that, so I do it quicker!). Edit your ~/.bashrc (if you use bash as your terminal) and create an alias:
      alias bat100="echo 100 | sudo tee /sys/class/power_supply/BAT0/charge_control_end_threshold"
      Then you just tipe bat100 when you need to charge full, and the rest of the days, it goes to 80.

    • @JFat5158
      @JFat5158 2 ปีที่แล้ว

      I can set the max charge on my dell laptop battery in the bios.

  • @mcqueen4343
    @mcqueen4343 3 ปีที่แล้ว +1

    i use a gaming laptop with manjaro (80Wh, 8 hours aprox) that uses only the iGPU and i get wayyy better battery life than windows, but i’ll take a look at the packages you mencioned

  • @kmemz
    @kmemz 3 ปีที่แล้ว +1

    This looks like the same type of governor toolset that the Android kernel uses. If not the same, then similar. I wouldn't be surprised if you could recompile it with several governors originally made for Android loaded into it. I'd run the OnDemand governor for running on battery, myself, but powersave works as well, locking down the frequencies even when there is a load that could use the power.

    • @nerd2544
      @nerd2544 2 ปีที่แล้ว

      1 year late but isn't the android kernel just a slightly modified linux kernel 💀

  • @fuseteam
    @fuseteam 3 ปีที่แล้ว +1

    iirc tlp is more for thinkpads and it has the power to set a maximum charge :3

  • @jampac2018
    @jampac2018 3 ปีที่แล้ว +5

    Thank you so much for this! Now time to install Linux on the family laptop!

    • @LinuxDog
      @LinuxDog 3 ปีที่แล้ว +1

      I did it years ago, I am so happy that I dont need to reinstall Windows every few months (min every 3)
      Linux is so more easy to maintain, backup and to update. I just love it.

    • @jampac2018
      @jampac2018 3 ปีที่แล้ว

      @@LinuxDog Ahh I get you! It's so lovely not having to deal with the pains that Windows brings to the table! (:
      I couldn't agree more! I made the switch on my desktop about a year ago and haven't looked back since, now this video gives me the incentive to make the switch on our laptop since the battery drainage was my main concern.

  • @scality4309
    @scality4309 3 ปีที่แล้ว +1

    I never experienced power draw on GNU+Linux?
    I have a chromebook that runs full Linux, removed chromeos.
    It runs 10 hours and a battery.

    • @call_me_stan5887
      @call_me_stan5887 3 ปีที่แล้ว

      it might be BIOS/UEFI-optimized when it comes to power management

  • @austin.rojers
    @austin.rojers 3 ปีที่แล้ว +3

    But for me it’s just opposite, it drains so quickly in windows and it lasts longer in linux

    • @michaelfox6820
      @michaelfox6820 3 ปีที่แล้ว +1

      I have an xps13 2 in 1 i7 running Ubuntu 20.04 and Windows 10. I use just TLP on the Ubuntu side and I think I get better battery life with it alone than I do on the Windows side. Nevertheless, I will try adding autocpu-freq with TLP and see if it further improves battery life. Thanks for bringing this utility to our attention, Chris.

  • @SanjayVermaLive
    @SanjayVermaLive ปีที่แล้ว

    You saved my laptop else it'd have been broken into million pieces today. Auto-cpufreq just doing wonders.

  • @PJBrunet
    @PJBrunet 2 ปีที่แล้ว

    Installation from AUR was a breeze. Fingers crossed. The included 'monitor' is a nice touch. Going to test with Battery Bench.

  • @ccwnoob4393
    @ccwnoob4393 2 ปีที่แล้ว

    2:02 is when the video starts. i held on because the comments are so positive.

  • @terminallyonline5296
    @terminallyonline5296 ปีที่แล้ว +1

    I'm a big fan of power-profiles-daemon personally!

  • @sonicthedgehog9473
    @sonicthedgehog9473 2 ปีที่แล้ว +3

    Hi Chris, I have a question I would like to ask, does auto-cpufreq set which GPU to use depending on the power plan your computer is currently using?

  • @FeelingShred
    @FeelingShred 2 ปีที่แล้ว +2

    anyone with Ryzen APU out there? I'm noticing that my Ryzen never goes below 41 C degrees on idle, while it does cool down to 35 C on Windows 10. Besides cpufreq, is there another tool that I can use to monitor frequencies in real-time with more accuracy? Or even monitor the Watts Power that is being drawn by the CPU in real time? That would help me diagnose if the CPU is able to idle into C-States or not (do these even exist on Linux side of things?)
    It's intriguing to me because my previous laptop had intel cpu, and I got same idle temps on windows and linux.

    • @FeelingShred
      @FeelingShred 2 ปีที่แล้ว

      and yes, I'm using a combination of Conservative cpu governor and having Turbo Boost turned OFF now...

  • @xuantungtrinh5584
    @xuantungtrinh5584 3 ปีที่แล้ว +5

    Thanh you for the video!
    Does this work on laptops with AMD Ryzen instead of Intel?

    • @ChrisTitusTech
      @ChrisTitusTech  3 ปีที่แล้ว +5

      Yes it does!

    • @call_me_stan5887
      @call_me_stan5887 3 ปีที่แล้ว +1

      it does - but bear in mind, for instance in TLP there's many more options for Intel than for Ryzens and AMD in general. Also be sure to install the latest version of TLP from github - it works with Renoir APUs.

  • @holski77
    @holski77 3 ปีที่แล้ว +1

    if i had a penny for every time CT made a useful informative vid.

  • @orrotico1177
    @orrotico1177 3 ปีที่แล้ว +1

    Testing this right now!! I just bought a new laptop some days ago and I have been searching for alternatives to improve my battery. I have been using TLP but I cannot get what I want, even when my laptop has a great battery life.

    • @Shubhampalzy
      @Shubhampalzy ปีที่แล้ว

      i am thinking of installing Mint.
      currently my windows OS gives me around 5-6 hours of SOT , will using this AutoFreq and Mint give me equivalent or better battery life with same performance ?

    • @orrotico1177
      @orrotico1177 ปีที่แล้ว

      ​@@Shubhampalzy TBH I cannot answer your question right now, because I am not using autocpufreq anymore because I changed my laptop to a newer one with a 6000 AMD processor (power efficiency is a lot better), but according to what I can remember about autocpufreq, it changes the governor of the CPU, so the performance decreases, even if boost is enabled. In my experience, before having my current laptop, I got the best results for battery life with powertop and the tunables tab, but has been some time that I was juglging with that. Currently I am using a Thinkpad Z13 and I need to do nothing to get it optimized in Linux, so I forgot several of the tools I was using for improves the battery.

  • @Ebalosus
    @Ebalosus 3 ปีที่แล้ว

    …and here I thought I’d have to muddle my way through tlp. Thanks for this 👍

  • @PASRC
    @PASRC 3 ปีที่แล้ว +3

    Does anyone know if or how it's possible to set this up on Artix Linux with runit?

    • @technik801
      @technik801 3 ปีที่แล้ว +2

      I saw a request for this on the github page, but it looks like it isn't working at the moment.

    • @PASRC
      @PASRC 3 ปีที่แล้ว +2

      @@technik801 Thanks for letting me know

  • @rafacoluccijf
    @rafacoluccijf 2 ปีที่แล้ว +1

    I think this project does the same as system76-power from PopOS, am I right? If you guys are on a laptop with dedicated graphics I dont know why not to use PopOs.