A cheap UPS power supply on Amazon is like $50. Even the ones rated for only 20 minute uptime is plenty more to survive a 1/2 second power loss and is worth it's weight in gold.
$42 dollars on Amazon
https://www.amazon.com/CyberPower-ST425-Standby-Outlets-Compact/dp/B07GZR981Y
plug in the modem AND router into the side that says "battery backed up" and any other networking devices like a switch if you have one. It'll keep the connection from dropping.
Apologies for resurrecting this thread but as it's been discussed, thought best to just comment.
I'm looking to play Hades Star on my PC, as the device I have is too small (getting old and blind), I've used bluestacks 3 and am happy with that, however I'd like to run it in landscape.
Used different rotation tools and I can't force Hades Star to run in landscape.
EDIT: PARTIALLY SOLVED: In order to get this working I tried multiple rotation apps, the one that works currently is "Control Screen Rotation" https://play.google.com/store/apps/details?id=ahapps.controlthescreenorientation&hl=en Some minor issues where it would rotate back to portrait but rebooting and setting it again worked.