I have that same WiFi card on an HP Pavilion X360.
On my laptop wifi was completely broken. I had to blacklist the default acer-wmi
module and install a patched version from: https://github.com/lwfinger/rtlwifi_new
I also had to add this line to my /etc/modprobe.d/rtl8723be.conf
options rtl8723be ips=N fwlps=N swlps=N swenc=Y disable_watchdog=Y ant_sel=2 msi=1
Since your wireless was technically working, unlike mine, but just dropping connections, I wouldn't recommend cloning that github repository. That's just what got mine working, but adding those options to your rtl8723be.conf
file might help. Just be sure to backup the original version of that file just in case these changes makes things worse.
Some more information on your laptop would be helpful.