Skip to content
Miya-Gadget
  • PC
  • Gadgets
  • Generative AI
  • Travel
  • Cars
  • Announcements
  • Contact
JA / EN
  1. Home
  2. PC
  3. Fix Wi-Fi Disconnecting on Raspberry Pi Zero 2 W (Power Management Issue)
PC

Fix Wi-Fi Disconnecting on Raspberry Pi Zero 2 W (Power Management Issue)

2025年3月3日 · Shichinomiya
Fix Wi-Fi Disconnecting on Raspberry Pi Zero 2 W (Power Management Issue)

After my microSD card failed and I installed a fresh OS, I ran into a frustrating Wi-Fi disconnection issue. Here is the fix for anyone dealing with the same problem.

 

Table of Contents

Toggle
  • Symptoms
  • Root Cause
  • Disabling Power Management
  • Making It Permanent with systemd
  • Final Thoughts
    • Sponsored Links
    • Raspberry Pi 5 8GB
    • Raspberry Pi Zero 2 W

Symptoms

Here is what I was experiencing:

Wi-Fi router showed no connection (not even in the DHCP list)

The green LED on the Raspberry Pi appeared normal

Wi-Fi worked briefly right after boot, allowing SSH access, then dropped

 

Root Cause

The wireless adapter’s power management setting was the culprit.

Like Windows’ Fast Startup, these “helpful” power-saving features can cause real headaches.

Run iwconfig wlan0 and if you see Power Management:on, this is very likely your issue.

shichinomiya@raspberrypizero2:~ $ iwconfig wlan0
wlan0 IEEE 802.11 ESSID:"xxxxxxxxxxxx"
Mode:Managed Frequency:2.447 GHz Access Point: 11:45:14:19:19:YJ
Bit Rate=72.2 Mb/s Tx-Power=31 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=70/70 Signal level=-28 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:18 Invalid misc:0 Missed beacon:0

 

Disabling Power Management

Simple enough — just disable it:

iwconfig wlan0 power off

Problem solved, right? Not so fast — this setting reverts on every reboot. So we need to make it persistent.

 

Making It Permanent with systemd

We will use systemd to run the command automatically at boot. (Apparently this is now preferred over rc.local and cron.)

Create a unit file:

sudo vi /etc/systemd/system/disable-wlan0-power.service

 

Add the contents to run iwconfig wlan0 power off after every boot.

Then reload systemd and enable the service:

sudo systemctl daemon-reload
sudo systemctl enable disable-wlan0-power.service

 

Verify it is active:

shichinomiya@raspberrypizero2:~ $ sudo systemctl status disable-wlan0-power.service
 disable-wlan0-power.service - Disable power management on wlan0
Loaded: loaded (/etc/systemd/system/disable-wlan0-power.service; enabled; >
Active: active (exited) since Tue 2025-02-25 22:27:47 JST; 1h 15min ago
Process: 452 ExecStart=/sbin/iwconfig wlan0 power off (code=exited, status=>
Main PID: 452 (code=exited, status=0/SUCCESS)
CPU: 8ms

Feb 25 22:27:47 raspberrypizero2 systemd[1]: Starting disable-wlan0-power.servi>
Feb 25 22:27:47 raspberrypizero2 systemd[1]: Finished disable-wlan0-power.servi>

Reboot to confirm:

sudo reboot now

 

After reboot, check the service status:

sudo systemctl status disable-wlan0-power.service

 

And verify with iwconfig:

Run iwconfig wlan0 and confirm Power Management:off appears.

shichinomiya@raspberrypizero2:~ $ iwconfig wlan0
wlan0 IEEE 802.11 ESSID:"xxxxxxxxxxxx"
Mode:Managed Frequency:2.447 GHz Access Point: 11:45:14:19:19:YJ
Bit Rate=72.2 Mb/s Tx-Power=31 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=70/70 Signal level=-28 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:18 Invalid misc:0 Missed beacon:0

 

Final Thoughts

Hopefully this resolved your issue. It certainly fixed mine.

I do not recall ever needing this workaround on older OS versions, so this power management behavior may have been introduced in a recent release.

Either way, it is frustrating that such an intrusive feature cannot be permanently disabled through normal configuration.

 

Sponsored Links

 

Raspberry Pi 5 8GB

Raspberry Pi 5 8GB

Price: 14,000 yen (as of 2025/03/03)

Buy on Amazon

Raspberry Pi Zero 2 W

Raspberry Pi Zero 2 W

Price: 3,600 yen (as of 2025/03/03)

Buy on Amazon

 

Previous Article Resolving “GLIBC_2.28 not found” Without Downgrading Node
Next Article Amazon Associates Card Generator Discontinued — Free Alternative Tool Released (Blog & WordPress Compatible)

Related Posts

Buying a Used Lenovo ThinkPad X240 — My Experience

Buying a Used Lenovo ThinkPad X240 — My Experience

[Installation Guide] Running Windows 10 on ARM on a Lumia 950 XL

[Installation Guide] Running Windows 10 on ARM on a Lumia 950 XL

[Solved] Deleting the ‘nul’ File from Claude Code on Windows

[Solved] Deleting the ‘nul’ File from Claude Code on Windows

Are AliExpress Budget CPUs Legit? I Imported a Ryzen 9 9950X to Find Out

Are AliExpress Budget CPUs Legit? I Imported a Ryzen 9 9950X to Find Out

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Shichinomiya

Shichinomiya

A blogger who loves PC and gadgets. Sharing daily discoveries.

@shichinomiya_s

Popular Posts

  • Does the trending Claude Code skill “ADHD” actually make the agent smarter? A measured duel vs single-shot
  • Build a Budget Tracker App with Claude Code: Data Visualization Made Easy
  • Flashing a Custom ROM on the Rakuten Mini via Project Treble
  • [2018] Installing Windows 7 Starter on a VAIO type P to Make It Usable Again
  • Amazon Associates Card Generator Discontinued — Free Alternative Tool Released (Blog & WordPress Compatible)

Categories

  • Announcements
  • Cars
  • Cycling
  • Gadgets
  • Generative AI
  • Home Appliances
  • Internet Service
  • Outings
  • Overseas Shopping
  • PC
  • Rental Servers & VPS
  • Travel
Miya-Gadget

A review blog about PC, gadgets, and DIY.
Sharing daily tech experiences.

Categories

  • PC (35)
  • Gadgets (25)
  • Generative AI (20)
  • Internet Service (7)
  • Travel (4)
  • Announcements (3)
  • Cars (2)
  • Outings (2)

Recent Posts

  • Dual Tesla V100 SXM2 on a Single PCIe Slot: 64GB VRAM & 300 GB/s NVLink Tested — Is This $700 Setup Worth It?
  • Modded RTX 4080 32GB Benchmarked: Qwen3.8-27B at 262K Context, 125B MoE, and MiniMax H3 Video — What 32GB Actually Delivers
  • Tesla V100 32GB Runs Qwen3.8-27B: 131k Context on a Single Card — Measured Benchmark
  • Tesla V100 32GB in 2026: Local LLM Benchmark with Qwen 3.6 — 98.8 tok/s on MoE 35B, 1.6x Faster Than M1 Max (Used, ≈$900)

© 2026 Miya-Gadget. All rights reserved.