Battery Life?

No problem, you will get those same power profiles.

2 Likes

I like having power profiles, Windows not so much though. Have you tested any of the profiles in the tuned-profiles package on Linux? If those are not as suited as the Windows ones, porting the latter to files usable by tuned-profiles would be really neat!

2 Likes

We haven’t set up profiles for tuned-profiles, but that is something we can explore (and hopefully folks here can share their own tunings in the meantime)

11 Likes

I’ll be running Linux on it primarily. I’m sure other folks will be too and we all can report back progress as we go of course!

7 Likes

Does anyone know of other laptops that have the similar specs of the Framework Laptop to see how their battery life has compared?

I know that expecting M1-levels of battery life is not realistic since that is an ARM device, but it would be cool to see if the framework laptop could last at least more than 3 hours of light gaming or using graphic designing software

1 Like

The only ones reasonably comparable I have found were the Acer Spin 5 for the i5 version and the Huawei Matebook X Pro 2021 for the less expensive i7. Although the Acer has a touchscreen (so it should theoretically be a bit worse on battery life), the review I read suggested that 15h of battery life were feasible. 10,5 hours were reported for the Huawei (different reviewer and higher resolution screen, so not a perfect comparison to the Acer or the Framework). I guess the “true”/average battery life for the Framework is somewhere between those two numbers, although of course heavily dependant on your usage and power profile.

2 Likes

@Nick_Martin and @Jason_Hottelet
For Linux you have much more control if you wanted to control the power envelope yourself. you can use the sysfs interface for the intel-rapl driver to adjust the power limits:
Eg you can set your PL1 (long term) and PL2 (short term) power limits in uW:
echo 1 > /sys/class/powercap/intel-rapl:0/enabled
#PL1
echo 28000000 > /sys/class/powercap/intel-rapl:0/constraint_0_power_limit_uw
#PL2
echo 64000000 > /sys/class/powercap/intel-rapl:0/constraint_1_power_limit_uw

From what I have found there is not a good way for the major window managers to control power profiles that are built into gnome/kde/etc. But it would be interesting to explore more.
You can read about the interface here, it is pretty cool because you can also use this to monitor power usage too:
https://www.kernel.org/doc/html/latest/power/powercap/powercap.html

There are a few mentions of intel projects for linux.
https://01.org/linux-thermal-daemon/documentation/introduction-thermal-daemon

23 Likes

Oh WOW! This was an interesting find. My 6 years old Intel ThinkPad has this as well. Works like a charm. I can see this being useful if you know you’re not gonna use the laptop for heavy workload (ensuring any runaway apps don’t kill your battery).

So i noticed nobody has answered the main question yet. How many hours do you get out of the battery?

As noted multiple times above, it’ll depend entirely on how you set up your power profile(s). However, to cut to the chase, most of the early reviewers seem to be getting 7-8 hours using the stock settings with no tweaking.

4 Likes

Since batch 1 has already shipped a while ago, I assume a lot of people already had time to play around with the laptop. I am wondering, what actual battery life performance are people getting using linux? Ars technica reported good performance in their tests, but I’ve seen a small number of people mention really poor battery life performance in the forums. What are other people’s experiences?

1 Like

with kernel 4.18.0-305.10.2.el8_4.x86_64 from rocky linux, I got just under 2.5h last night while watching netflix. It was sitting on a blanket w/ temps between 50 and 70C. @nrp mentioned toying with tuned, so I took a look. by default its in max-throughput mode, so I’ll give max-powersaver a try sometime and report again.

Here’s what tuned says this morning.

11:04:52> tuned-adm list
Available profiles:
- accelerator-performance     - Throughput performance based tuning with disabled higher latency STOP states
- balanced                    - General non-specialized tuned profile
- desktop                     - Optimize for the desktop use-case
- hpc-compute                 - Optimize for HPC compute workloads
- intel-sst                   - Configure for Intel Speed Select Base Frequency
- latency-performance         - Optimize for deterministic performance at the cost of increased power consumption
- network-latency             - Optimize for deterministic performance at the cost of increased power consumption, focused on low latency network performance
- network-throughput          - Optimize for streaming network throughput, generally only necessary on older CPUs or 40G+ networks
- optimize-serial-console     - Optimize for serial console use.
- powersave                   - Optimize for low power consumption
- throughput-performance      - Broadly applicable tuning that provides excellent performance across a variety of common server workloads
- virtual-guest               - Optimize for running inside a virtual guest
- virtual-host                - Optimize for running KVM guests
Current active profile: throughput-performance

Here’s sensors from last night. (on battery, on a blanket, load: netflix)

iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:        +36.0°C  

acpitz-virtual-0
Adapter: Virtual device
temp1:        +59.8°C  (crit = +210.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +71.0°C  (high = +100.0°C, crit = +100.0°C)
Core 0:        +71.0°C  (high = +100.0°C, crit = +100.0°C)
Core 1:        +52.0°C  (high = +100.0°C, crit = +100.0°C)
Core 2:        +56.0°C  (high = +100.0°C, crit = +100.0°C)
Core 3:        +52.0°C  (high = +100.0°C, crit = +100.0°C)

But yea, to answer your question@Oskars_Cizevskis, It got about 2.5h.

4 Likes

Anyone have any comments on real-life battery life under Windows?

1 Like

@Kimberlee_Model eagerly avaiting max-powersaver results : )

Ran the same “test” again in powersave mode. lasted about 3h50m, so pretty dramatic. Here’s the temps under about the same conditions (same load, same blanket).

iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:        +39.0°C  

acpitz-virtual-0
Adapter: Virtual device
temp1:        +58.8°C  (crit = +210.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +56.0°C  (high = +100.0°C, crit = +100.0°C)
Core 0:        +52.0°C  (high = +100.0°C, crit = +100.0°C)
Core 1:        +55.0°C  (high = +100.0°C, crit = +100.0°C)
Core 2:        +50.0°C  (high = +100.0°C, crit = +100.0°C)
Core 3:        +54.0°C  (high = +100.0°C, crit = +100.0°C)
1 Like

3-4 hours from a full charge sounds way off. Is Linux known to not be as battery-optimized as Windows out of the box?

There’s a second thread you may be interested in Performance, CPU temp, and battery life on Linux - #17 by A_L

I’m getting a bit longer on a newer kernel (5.13) with tuned set up, about 5-6 hours while browsing/watching videos with Firefox.

3 Likes

@Framework, seems like the HDMI expansion card is taking up around 1W of power (with no HDMI cable plugged in), which seems quite high. Did a ton of A/B tests on both Fedora and Windows, but basically idle and normal usage discharge rates are ~1W higher with the HDMI expansion card plugged in, vs. without.

The USB-C and USB-A cards seem to draw a negligible difference.

Right now, I’m running with the HDMI expansion card unplugged, and I don’t have another card to fill that hole :sweat_smile:. Also, is there any way to disable the HDMI card from drawing power? Tried a few things in Windows and Linux (using Powertop: Tunables tab, turn “Bad” to “Good” for “Autosuspend for USB device HDMI Expansion Card [Framework]”), but doesn’t seem to help.

Some general battery life information:
I’ve done a fair share of testing battery discharge rates in both Windows and Linux.

Will do a longer write up later, but tldr:
PSR (Panel Self Refresh) saves about 0.5W, which works in Windows but unfortunately is broken (stuttering issues) in Linux for now.

Have been able to hit peak low idle discharge rates (5% display brightness, keyboard light off, 2x8GB 2400MHz (to upgrade soon :relieved:), PSR on):
Fedora 34: ~2.2W (so ~2.8W with faulty PSR off)
Windows 10: ~2.6W

But usually it’s around 3W-4W. Seems PSR is needed to achieve C10 states, which save that extra ~0.5W. If PSR is off, only C8 can be achieved. Can check C-States via Powertop on Linux, or ThrottleStop on Windows.

Power profiles:
Windows: battery saver mode
Fedora: I’m using Bastien Nocera / power-profiles-daemon · GitLab and using the “power-saver” mode

6 Likes

@Michael_Wu Under what circumstances was this energy usage recorded? Did you change anything else in the BIOS? I’m curious what your real-life usage is (browsing on firefox for example), because I’m nowhere near 2.8W (5 W with literally nothing but KDE up), with most of the recorded usage by the backlight. I practically get 6 hours or so with tuned while browsing.

For HDMI, I used powertop2tuned:

sudo dnf install tuned \
    tuned-switcher \
    tuned-gtk \
    tuned-utils
sudo powertop --calibrate
sudo powertop2tuned -e -n power-saver --force
sudo vi /etc/tuned/power-saver/tuned.conf
sudo tuned-adm profile power-saver

Depending on what slot it’s plugged in, you should have something like

# Autosuspend for USB device HDMI Expansion Card [Framework] 
/sys/bus/usb/devices/3-3/power/control=auto

in your tuned.conf. With this setting, I don’t see the 1W usage by the HDMI card.

4 Likes

My personal expectation (even before I ordered) is that any module that does conversion from USB-C to other things is going to draw power, and only removing the module will stop that.

I’m OK with that because I ordered extra modules.