Grab a brand new laptop or desktop running Linux:
š 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:
Patreon:
Or, you can donate whatever you want:
Liberapay:
š GET TLE MERCH
Support the channel AND get cool new gear:
šļø LINUX AND OPEN SOURCE NEWS PODCAST:
Listen to the latest Linux and open source news, with more in depth coverage, and ad-free!
š FOLLOW ME ELSEWHERE:
Website:
Mastodon:
Pixelfed:
PeerTube:
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:
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.
[ad_2]
source