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.
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 ?
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!
@@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
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)
"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 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).
@@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.
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 ?
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
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....
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.
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
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 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.
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 ?
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.
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 😄
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 ?
@@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 😄
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
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...
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
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
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.
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!
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.
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
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.
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 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.
@@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.
@@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
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
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.
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
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
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
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
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.
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)
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
@@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.
@@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
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.
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 ?
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.
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.
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?
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.
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!
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.
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.
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.
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
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
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
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.
@@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.
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,
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
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.
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...
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 ?
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
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?).
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%?
"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.
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.
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
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.
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.
@@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.
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.
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.
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.
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.
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 ?
@@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.
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.
This is what Linux TH-cam channels are best at. Thanks, Chris. Do these types of video more.
You got it 😉
@@ChrisTitusTech you owe me a laptop charger, this program makes cpu run above the Maximum frequency, and the laptop charger smoked and got damaged
@@marcg3923 XD XD XD
@@marcg3923😂😂😂 you should have bot installed TLP
So happy you covered this package. Adnan deserves the recognition for his work. Such a underrated and unknown gem.
@@AdnanHodzic I appreciate you!
@@AdnanHodzic 😲😲😲😲😲 wow
I was frustrated with my laptop for lack of battery life, followed your suggestion and man I am loving it, Thanks Chris 👍
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.
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 ?
@@Shubhampalzyit switched from power saving to performance depending what you're doing, so you'll get equivalent performance for less power usage
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!
Thought you were going to install through snap. Don't scare me like that lmao.
😂
What's wrong with snaps?
@@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
I love how its just in the aur
@@EdwardSnowden125 nothing, some people just have Windows PTSD
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)
did you do that with what CPU models exactly? intel? ryzen? APU? mine is 3500U...
can you share what commands did you use to achieve that?
@@FeelingShred Yeah I'm curious about this. Undervolting my AMD cpu seems tedious and has many dependencies.
@@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
@@finnk1289 2 months gone by and the guy disappears, it's not willing to share what commands he used to achieve the results
Ever since I started using this yesterday, I've gotten MUCH more battery life than before
Thanks Chris!
how much extra hours did you get?
"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.
what about if tlp, autofreq and powertop is installed? 🤪🤪🤪
@@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).
@@orrotico1177 oh interesting find, thanks for sharing
@@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.
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 ?
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
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
turbo boost is disabled by default on battery mode.
Great video.
Would be also cool to see some kind of benchmark of battery and performance. With/without all those utillities.
Thanks!
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....
Don't need power saving when your battery is dead..
sure, you save money on your energy bill and can buy a new battery. :D
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
Battery sounds like bloatware
Yeah, my laptop been running without a battery for months now 😅
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!
I switched to MATE from GNOME a few months ago and it increased the battery life dramatically
I am using xfce - no complaints too.
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.
Thank you, Chris. Huh. I've never had any problem on refurbished Thinkpads and so on. I'll look into this.
This is so relevant
Been waiting a long time
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
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.
do you still have to charge it often or did it 'multiply' your battery life
@@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.
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 ?
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.
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 😄
I'm using a mobile web browser instead of the youtube app so I cant correct the typo mistakes, so excuse me in that 😜
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 ?
@@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 😄
@@badral-balushi5911how about now? is the battery life better on linux than what you had on windows?
@@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
Recently revived my 2013 laptop with Solus. Glad I found this guide to make the lappy act close to "latest". Thanks Chris.
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. :)
update on the subject? did it work?
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
@@FeelingShred im a little late but have u tried using vsync?
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...
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
YOU ARE A LIFE SAVER!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
This is why I like this guy , he gives ways you can't find easily
This literally improved my battery life by nearly 50%. I'm so happy, definitely subscribing for more content!
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
please reply to the above comment mate.
i have the same doubts
@@p21072 For my particular Dell XPS 13Plus I was able to add around 2+ hours to my already 7+ hours on Windows.
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.
Stop watching this man !!! Bcz you gonna be addicted to his videos !! I love you, yoU're the best
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!
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.
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.
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
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.
Power-profiles-daemon sounds good, I’ve read it around 2-3 times already.
what are the border between modern laptop and older laptop, like what generation on intel or on amd?
Thank you, thank you, thank you. I thought TLP was the only program that was saving power. This program is amazing.
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).
Yeah, in the next couple years you will see this become more mainstream.
It's build in on Garuda Linux
@@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.
@@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.
@@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
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
And did the battery standby improve after using this? I feel like it doesn't help much.
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.
Exactly, this is an OLD solution for a problem that been solved for years.
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
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
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
haven't found a solution for that so far
Videos like this are gonna be really helpful in the Windows to Linux wave that's coming at the end of 2025
Linux plus greater battery life than windows = happiness
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
Pls make on video on how you switch between graphics cards on your laptop
YES! I need this so much!
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.
@@sevenracing3092 thanks a lot , I’ll look into
Optimus-manager
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)
Thanks Chris, gonna install that on my Garuda install
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
I have been using custom ACPID rules to change the scaling governor, but this seems much easier. Just install, enable and forget
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?
what distro are you using?
@@yasiranower7045 Kubuntu 20.04
I just followed Chris' instructions and since then happy life 😉
@@StefanSchindewolf what would be better Kubuntu or Fedora or Solus?
I am using Fedora rn
My main importance is battery life
@@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.
@@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
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.
To some extent you can set it by using tlp alone.
This video was the need of the hour.
I use Linux and I was looking for this video.
thanks.
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 ?
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.
A great video Chris, I miss when you made helpful videos like this, please keep them coming!
Unfortunately, it doesn't work on a MacBook Pro with Fedora 34. The battery only lasts 3 hrs. with or without this tool.
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.
gr8 tip, Chris! Using it on laptop from now on... !
Keep things like this coming ;)
Amazing!! It works perfectly fine, I have used the installation script with Fedora 35
Thanks Chris, that's a fantastic hint.
Donated to the developer - everyone should do who is using it.
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?
Because manufacturers don't make good drivers/firmware for Linux (only a few % of the market use Linux, why support them?)
Awesome!. Thank you Chris!
New to me, just finished install and working like a charm ...Thanx Chris :)
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.
Thank you Chris👍🏾. I noticed that linux is power when I was no longer working from home.
man i installed tlp and i use the thinkpad extended battery and now it last 8 hours
@NewAccount 1974 awesome i may try it out too
TLP was made for ThinkPads
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!
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.
@@call_me_stan5887 Thank you!
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.
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
Rocking Ubuntu 22.04LTS on my Lenovo ThinkPad T61 💪😎
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.
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.
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
Wonderful! Just now I need to figure out how to use my Integrated GPU instead of the dedicated one to save more battery
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
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
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.
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
Soo, what was your experience like?
@@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.
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.
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,
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
I'm looking for solutions too
did it worked?
@@ayushanand381 nah still suck
@@retpaladin593 you mention 4 hours, same as me... is it AMD cpu too?
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.
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...
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 ?
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
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
This is just great. Thank you Chris! My Asus Vivobook now lasts forever :D
It's great. So much helpful. One more thing which terminal are you(he) using???
Awesome video and package :). Thanks for sharing Chris!
Fantastic! Thank you for sharing this - just what I've been looking for!
i like dell laptops because the linux drivers work very well and the battery hit isnt too bad
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?
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?).
Installed Arch on an old HP probook for noob learning purposes. Def a must have pkg thanks for the great tip!
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%?
"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.
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.
I can set the max charge on my dell laptop battery in the bios.
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
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.
1 year late but isn't the android kernel just a slightly modified linux kernel 💀
iirc tlp is more for thinkpads and it has the power to set a maximum charge :3
Thank you so much for this! Now time to install Linux on the family laptop!
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.
@@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.
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.
it might be BIOS/UEFI-optimized when it comes to power management
But for me it’s just opposite, it drains so quickly in windows and it lasts longer in linux
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.
You saved my laptop else it'd have been broken into million pieces today. Auto-cpufreq just doing wonders.
Installation from AUR was a breeze. Fingers crossed. The included 'monitor' is a nice touch. Going to test with Battery Bench.
2:02 is when the video starts. i held on because the comments are so positive.
I'm a big fan of power-profiles-daemon personally!
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?
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.
and yes, I'm using a combination of Conservative cpu governor and having Turbo Boost turned OFF now...
Thanh you for the video!
Does this work on laptops with AMD Ryzen instead of Intel?
Yes it does!
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.
if i had a penny for every time CT made a useful informative vid.
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.
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 ?
@@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.
…and here I thought I’d have to muddle my way through tlp. Thanks for this 👍
Does anyone know if or how it's possible to set this up on Artix Linux with runit?
I saw a request for this on the github page, but it looks like it isn't working at the moment.
@@technik801 Thanks for letting me know
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.