How to improve your BATTERY LIFE on LINUX!

Subscribers:
390,000
Published on ● Video Link: https://www.youtube.com/watch?v=YE431SYO2Is



Duration: 15:43
68,150 views
4,000


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


👏 SUPPORT THE CHANNEL:
Get access to:
- a Daily Linux News show
- a weekly patroncast for more personal thoughts
- polls on the next topics I cover,
- your name in the credits

YouTube:    / @thelinuxexp  
Patreon:   / thelinuxexperiment  

Or, you can donate whatever you want:
https://paypal.me/thelinuxexp
Liberapay: https://liberapay.com/TheLinuxExperim...

đź‘• GET TLE MERCH
Support the channel AND get cool new gear: https://the-linux-experiment.creator-...

🎙️ LINUX AND OPEN SOURCE NEWS PODCAST:
Listen to the latest Linux and open source news, with more in depth coverage, and ad-free! https://podcast.thelinuxexp.com

🏆 FOLLOW ME ELSEWHERE:
Website: https://thelinuxexp.com
Mastodon: https://mastodon.social/web/@thelinuxEXP
Pixelfed: https://pixelfed.social/TLENick
PeerTube: https://tilvids.com/c/thelinuxexperim...
Discord:   / discord  

Timecodes:
00:00 Intro
00:32 Sponsor: Tuxedo Computers
01:38 State of your battery
02:56 Hardware acceleration
06:30 TLP
09:42 Dual GPU setups
11:36 Other basic tips
13:34 Other tools and parting thoughts
14:43 Support the channel

#Linux #batterylife #linuxbattery #batterysave #laptopbattery #laptop #linuxlaptop

Check battery health: upower -i /org/freedesktop/UPower/devices/battery_BAT0


If you watch videos or stream movies and shows from your browser, check that it's actually using your GPU to accelerate that video decoding.

To check that in Firefox, type about:support in the URL bar, then search for "compositing" in the page. If it says "webrender", you're good.

To check if the GPU is used to decode videos, you can also search for "hardware_video_decoding". If it says "default available", you're good.

On Chromium based browsers, to check for that, type chrome://gpu in the URL bar.

On Firefox, to enable that, open the about:config page, then search for media.hardware-video-decoding.enabled. Double click the value to set it to true.

On any chrome based browser, you can just go to the settings, to "system", and toggle "use graphics acceleration when available". Provided your distro has the required packages, you should be good.

And, if you have an older chipset that isn't able to decode all formats using the GPU, like for example VP8 or VP9, you have browser extensions, called enhanced-h264ify for Firefox, or h264ify for Chrome, which will let you set h264 as the default codec on youtube.

One of the most useful tools here will be TLP. It's a command line only tool, but fear not, there's a graphical user interface that's much more user friendly here, called TLP UI.

Once installed, TLP will run automatically in the background after the first reboot. If you open TLP UI after that, you should see that it's enabled, and get access to all the various settings.

TLP documentation: https://linrunner.de/tlp/usage/index....

Now, if your computer has 2 GPUs, an integrated one, and a dedicated one, you might also want to check which one you're using: when using your laptop unplugged, you might want to just use the integrated GPU, and when plugged in, the dedicated GPU.

The easiest way to do so is by staying in hybrid graphics mode. If you have an nvidia GPU, and the proprietary drivers you can just open th Nvidia settings app, and head over to the "prime profiles" tab, and select "Nvidia on demand".

If you really want the best savings though, then you'll need to completely disable the dedicated GPU, either by using "Intel (power saving mode) in the nvidia settings app, or by using the BIOS to set your GPU to integrated only.

And of course, there are the usual basic changes you can make: the usual screen brightness thing, this can save you a ton of battery. The display's refresh rate is also a factor, and variable refresh rate will let you save some battery.

The more recent your hardware is, the better the chances a more recent kernel and drivers will have better hardware support and better performance and battery life.




Other Videos By The Linux Experiment


2024-05-24GNOME has a plan, Windows adds spyware, Plasma 6.1: Linux & Open Source News
2024-05-17Firefox collects data, AI is a disaster, France bans TikTok (sort of): Linux & Open Source News
2024-05-10Nvidia goes Open Source, Cosmic update, attack bypasses VPN: Linux & Open Source News
2024-05-08LINUX KERNEL variants explained: Zen, Xanmod, TKG, RealTime, Liquorix...
2024-05-03NixOS isn't dying, GNOME funding issues, Windows 11 loses users: Linux & Open Source News
2024-05-01What would an ENSH*TTIFIED Linux distro look like?
2024-04-26US TikTok ban, Why Google sucks now, Nvidia contributes to NVK: Linux & Open Source News
2024-04-24Ubuntu 24.04 LTS Review: solid, unexciting release (+all flavors)
2024-04-22The END of CENTOS matters more than you think!
2024-04-19Gentoo & Torvalds don't like AI, Flatpak flaw, Cosmic theming: Linux & Open Source News
2024-04-17How to improve your BATTERY LIFE on LINUX!
2024-04-12Fedora wants AI, Nvidia + Wayland fixed, Proton buys Standard Notes: Linux & Open Source News
2024-04-05Fedora with KDE by default? XZ backdoor fallout, German state moves to Linux
2024-04-03THIS is what the LINUX COMMUNITY uses??
2024-03-29BIG security issue, Redis ditches FOSS, future of Linux is bright: Linux & Open Source News
2024-03-22USA sues Apple, Plasma themes are insecure, GNOME 46: Linux & Open Source News
2024-03-19GNOME 46 REVIEW: the shape of things to come!
2024-03-17GREAT RESOURCES to learn about LINUX: command line, architecture, gaming, customization, news...
2024-03-15France's HUGE breach, EU won't regulate FOSS, Cosmic delayed: Linux & Open Source News
2024-03-08EU wrecks Apple, Fedora drops X11, Linux at 4%: Linux & Open Source News
2024-03-06The FULL AMD Linux laptop! (RADEON GPU & Ryzen CPU): Tuxedo Sirius 16 review



Tags:
linux
open source
linux tutorial
linux 2023
opensource
linux tips
distro
linux for beginners 2023
linux vs windows
linux tutorial 2024
improve linux battery
linux battery life
battery life laptop
laptop linux battery
ubuntu battery life
tlp
autocpufreq
gpu acceleration linux
gpu video decode linux
vaapi linux
best linux laptop
how to improve linux batter life
get better battery on linux
linux battery
ubuntu battery
arch battery life
fedora battery life