Optimizing Fedora Battery Life
January 21 2025 10:44pm • Est. Read Time: 5 MINIn this article, we'll look at what is the safest, easiest way to get the most battery life out of your Framework laptop.The instructions here will address best practices and how to optimize your battery power consumption.
External Displays
If you're connecting to external displays, then please plug into AC power. Running from battery and using external displays is going to run your battery down faster. Your displays are connected to AC power already, it's recommended to have your Framework also connected to AC power in this scenario.
Bluetooth, Keyboard Backlights and Display Brightness Settings
Bluetooth should be off unless it's being used anyway - that's just a good security practice. If you need it, then please do turn it on. Keyboard backlights are best turned off when in a well lit room. Simply pressing Fn and Space keys will allow you to toggle this off. And finally, the brightness settings for your backlit display.
The general recommendation is to turn it down far enough as to not make the display difficult to read. The lower the setting, the more battery life you will get.
dGPU on Framework Laptop 16
Out of the box on Fedora, you will find the natural state of the dGPU is to be in a deep power save mode, until it's has been awakened for an immediate need. This means you will be running your UMA graphics and not getting power drain from the dGPU unless it's been brought out of its power saving state.
Now, there are exceptions to this behavior. Tools like NVTOP will bring the power state as active. And even Steam, will wake it for a brief moment, only to put it into a deep power saving state again. For Steam users, we have instructions how to get your games using the dGPU only when you choose to.
Have concerns when the dGPU is being brought out of the deep power save state? We recommend installing Mission Center.
Fedora:
flatpak install missioncenter
Power profiles and stress testing
When stress testing, you need to make sure are using performance settings. Running a stress test outside of performance is going to lead to leveled off frequencies in some instances.
If you are not totally sure this is working, run this command:
cat /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference
You should see "performance" across the board if you have your GNOME power profile selected to performance, which is recommended for intensive tasks such as stress testing.
Firefox hardware acceleration
Firefox hardware acceleration can help battery life in Linux in a few ways:
- Offloading tasks to the GPU: Hardware acceleration allows Firefox to utilize the computer's graphics processing unit (GPU) for specific tasks like rendering web pages, decoding videos, and playing animations. GPUs are often more efficient at handling these tasks than the main processor (CPU). This offloading reduces the overall workload on the CPU, which may lead to lower power consumption and improved battery life.
- Improved rendering efficiency: Modern GPUs are specifically designed to optimize graphics-intensive tasks. Hardware acceleration enables Firefox to leverage these optimizations, leading to faster and smoother rendering of web content. Efficient rendering may require less computational power from both the CPU and the GPU, potentially improving battery life.
- Dedicated video decoding: GPUs often include specialized hardware for decoding video content, which can be significantly more power-efficient than software-based decoding on the CPU. By utilizing hardware acceleration, Firefox can offload video decoding to the GPU, potentially improving battery life during video playback.
Follow this guide to set up Firefox hardware acceleration.
TuneD-PPD (****new with Fedora 41+****)
Tuned-ppd in Fedora 41 (and greater) is a power management daemon that automatically optimizes your system's performance and power consumption. Let me explain how it works with GNOME's power profiles:
By default, tuned-ppd integrates with GNOME's power profile menu (the battery icon in your system tray) to offer three main profiles:
Performance: Maximizes system performance without worrying about power consumption. The CPU runs at full speed, and power-saving features are disabled.
Balanced: The default setting that provides a good mix between performance and power savings. The system responds well to demands but still tries to save power when possible.
Power Saver: Prioritizes battery life over performance. It reduces CPU speed, screen brightness, and enables aggressive power-saving features.
What makes tuned-ppd special is that it's not just making simple power management changes - it's dynamically adjusting multiple system parameters like:
- CPU frequency scaling
- Disk operation modes
- Network card power settings
- USB device power management
- System cooling behavior
In Fedora 41+, it's preconfigured to work seamlessly with GNOME - you don't need to do any manual configuration. Just select your desired profile from the power menu, and tuned-ppd handles all the technical details in the background.
Can I adjust the default profiles?
Yes. However there are two ways of doing it. This means you want to test out other profiles for powersave and performance, to meet specific expectations.
- Option 1 (recommended for those preferring GNOME power menu): Continue using the GNOME power menu to select your profile desired, but customize the backend tuneD profiles used with this tool. The extra/non-default profiles from Red Hat are downloaded for you, auto-magically.
(GNOME power menu shown below is just themed, the script makes zero changes to the appearance)
Option 2 (recommended for those preferring a separate applet/widget): Install and utilize the TuneD Switcher flatpak. You will need to install the the extra Red Hat profiles manually if you want more than the Fedora defaults.
Suspend vs Hibernate
Your Framework Laptop will suspend out of the box with a standard, non-customized install of Fedora. However some customers have expressed they need more. Enter hibernate.
Hibernation to disk in Linux using a swap partition is a valuable feature for preserving your system's state while completely powering off the machine. It works by saving the contents of RAM to the swap partition and restoring it upon reboot. On modern laptops equipped with NVMe SSDs, hibernation and resume processes are significantly faster due to the high-speed read/write capabilities of NVMe drives. This enhanced performance makes hibernation a practical and efficient option for energy conservation and session continuity without compromising user experience.
If you are going to perform a clean install, are willing to do without secure boot, consider hibernate using our custom configuration tool. This provides guidance for LUKS encrypted root and swap, to keep your files safe.
But how long will your battery last, though?
Now the big question here is how long will your battery last throughout the day while in use? The answer is that it depends on a multitude of factors too long to list here. But here are some common factors.
- Video or video meetings - battery vampires. While tuned-ppd will help, you will see your battery drop from use here.
- Some IDEs running on Electron. Anything on Electron is likely to draw a bit more power than you might like. But they should generally not be worse than running an additional browser instance.
- Lights, Camera, Battery Usage. Webcam usage, backlighting on your keyboard and your display backlighting were touched on previously. Just a reminder these remain factors Adjust them accordingly to best meet your needs, bur remember these do affect battery life.
- Expansion Slot Power Draw Expectations. Because which expansion cards being used where will affect battery life, we have put together a clarification guide for our AMD laptops.
Other Changes and Settings Framework users have recommended
Community members have made a number of additional recommendations ranging from hardware acceleration for your daily desktop use to disabling Turbo Boost in the BIOS. None of these things will hurt to try, however, these things would need to be community supported on the Framework Forums. Point being, you're welcome to try suggestions from the community, but your experiences may vary.
- Hardware acceleration: Community supported, not officially supported.
- Disabling Turbo Boost in BIOS: Community supported, not officially supported.