Wi-Fi does not turn back on after suspend (closing laptop lid)
System details
Acer Aspire Go 14
What's wrong?
When I close the laptop lid, the system goes to suspend normally. However, when I open the lid again, the Wi-Fi adapter remains disabled and does not reconnect automatically.
Steps to Reproduce:
- Boot the system normally.
- Connect to Wi-Fi.
- Close the laptop lid (system enters suspend).
- Open the lid again.
Expected Behavior: Wi-Fi should automatically reconnect after resume.
Actual Behavior: Wi-Fi stays disabled and no network connection is available until NetworkManager is restarted or Wi-Fi is manually re-enabled.
System Information:
- OS: Omarchy Linux
- Kernel: Linux omarchy 6.19.6-arch1-1
- Laptop: Acer Aspire Go 14
- Wi-Fi Hardware: 00:08.0 System peripheral: Intel Corporation Meteor Lake-P Gaussian & Neural-Network Accelerator (rev 20) 02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8852BE PCIe 802.11ax Wireless Network Controller
Logs: (attach output from journalctl -b)
I managed to resolve this on my end. "'' 82K2 (IdeaPad Gaming 3 15ACH6) Linux 6.19.13-arch1-1 "''
The cause: This appears to be a desynchronization between the kernel ACPI resume sequence and NetworkManager state machine.
The solution:
The fix is to inject a systemd-sleep hook that forces NetworkManager to restart after the kernel has confirmed the hardware interrupts are restored on the.
you can fix it locally by creating an executable script in the system sleep directory:
1- sudo sh -c 'cat << "EOF" > /usr/lib/systemd/system-sleep/wifi-wake.sh #!/bin/sh case $1/$2 in post/*) /usr/bin/systemctl restart NetworkManager ;; esac EOF'
2- sudo chmod +x /usr/lib/systemd/system-sleep/wifi-wake.sh
Thank you @Rockeyxx