Finally I was able to fix the issues after trying out numbers of different methods.
- Get details of your PCI wireless card by running
sudo lshw -class network
- Get your card model info according to the product line. For instance, as you can see in the question description it says
product: RTL8723BE PCIe Wireless Network Adapter
so the model of my card isRTL8723BE
- Open or create
/etc/pm/config.d/config
and addSUSPEND_MODULES="rtl8723be"
(replace rtl8723be with your own model number) Then runecho "options rtl8723be fwlps=N" | sudo tee /etc/modprobe.d/rtl8723be.conf
and reboot.
Now your system should be able to reconnect automatically after sleep, and wifi connection never got lost once for me after doing this.
“The up/down arrows is likely a network manager bug that results in network manager thinking the wifi device is actually ethernet.”, according to Jeremy31.see bug info here You should be able to fix it by installing NetworkManager-1.2.0.
Thanks to Jeremy31 for providing the solutions.