It stays open on my phone with battery optimizations disabled, but the Windows app needs to be manually started from the tray icon after waking from sleep/hibernate for it to work. I've even tried setting up a scheduled task to run the app when my PC wakes but it just doesn't work unless I open it from the tray or restart the whole app.