This is an odd problem I've been dealing with from day one of having the S10.
At 1 AM every day, all wireless signals turn off automatically. Wifi, Mobile Data, Bluetooth...etc. This happens regardless if I'm in power saving mode or not. Nor does it seem to matter if the battery is completely charged or about to die.
Also, after 1 am, every time I disconnect charging cable or remove from wireless charging pad, everything disconnects. The second I unplug or remove power; WiFi, Data, Bluetooth...etc immediately turns off. And it won't turn back on until I manually do it.
I don't know of any built-in programs that would do something like this. Like an uber "do no disturb", but I could be wrong. Any ideas or suggestions?