From reading the code, just by disconnecting. So even when just relogging or going offline for the day, it will still send a notification.