Skip to content
Jasnan.xyz
Go back

Wi-Fi power saving was breaking my Immich uploads

Edit page

TLDR

If your Linux machine slows down under heavy uploads over Wi-Fi, first check if power saving is enabled:

iw dev wlp6s0 get power_save

If you see:

Power save: on

then disable Wi-Fi power saving:

sudo nano /etc/NetworkManager/conf.d/wifi-powersave-off.conf

[connection]
wifi.powersave = 2

Restart NetworkManager. That fixed the issue for me.


Setup

I run Immich on an Ubuntu server connected over Wi-Fi. My phone backs up photos to it over the same local network.

Nothing fancy. No WAN access.


The Problem

Everything works fine until the bulk upload starts from the phone.

As soon as Immich begins syncing photos and videos:

CPU, RAM, and disk were mostly idle.

One detail stood out:

Reconnecting Wi-Fi instantly fixed connection speed

But only until the next upload.


What Made This Confusing

This was all happening inside the same LAN.

So:

At first it looked like a random network issue, but the “reconnect fixes it” pattern pointed to something local.


The Actual Cause

I found this in NetworkManager config:

[connection]
wifi.powersave = 3

Default location:

/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

This enables Wi-Fi power saving.


Why This Breaks Uploads

Immich uploads use HTTP, so this is TCP traffic.

During a large upload:

Wi-Fi is half-duplex, so sending and receiving compete with each other.

With power saving enabled:

TCP reacts to this as congestion and reduces throughput aggressively.

That is why everything slows down, not just the upload.


Fix

Create an override config:

sudo nano /etc/NetworkManager/conf.d/wifi-powersave-off.conf

Add:

[connection]
wifi.powersave = 2

Restart:

sudo systemctl restart NetworkManager

Verify:

iw dev wlp6s0 get power_save

Expected:

Power save: off

After this change:


Takeaway

My system uses a MediaTek MT7922 Wi-Fi chipset. It works fine in general in Linux kernel 6.10 or newer, but seems sensitive to power saving under load.

Linux enables Wi-Fi power saving by default because most systems are laptops. But if your machine behaves like a server, this default can hurt performance.

This was not an Immich issue or a network limitation. Just a default setting that did not match the use case.


Edit page
Share this post:

Previous Post
RAM and SSD prices in 2026 are wild (compared to my 2024 build)
Next Post
Using a Bluetooth keyboard to unlock LUKS on Ubuntu