Always connect to the Internet while Briar is put to foreground
Hello all,
Users who use the setting "Connect to the Internet only when charging" have to change this setting every time they want to bring Briar online in the meantime without the charger connected. This is very annoying and inconvenient. In addition, it generally seems senseless to have the app in the foreground while it is offline.
For these reasons, I suggest the following behaviour of Briar while "Connect to the Internet only when charging" is activated:
-
When Briar is brought to the foreground, it should automatically switch to online.
-
When Briar is brought back to the background, it should maintain the internet connection for another 3 minutes. After the 3 minutes, Briar will automatically go offline. This 3 minute delay is to avoid excessive online/offline intervals. (This is needed for example when the user wants to share texts from another app).