Can you have a try to test your problem as follow:
1.Get wl tool
wget https://dl.radxa.com/tools/linux/wl
2.Change wl permissions
chmod +x wl
3.Copy wl to /usr/sbin
sudo cp wl /usr/sbin
sudo ldconfig
4.Use the command to set constantly awake mode
sudo wl PM 0