Prevents the phone from going into battery save mode.
Motivation and Context
On Tor connections this was really annoying sometimes, as the user had to do something to prevent the app from "shutting down" which then caused all connection stuff to be reestablished.
How Has This Been Tested?
My S9
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Description
Prevents the phone from going into battery save mode.
Motivation and Context
On Tor connections this was really annoying sometimes, as the user had to do something to prevent the app from "shutting down" which then caused all connection stuff to be reestablished.
How Has This Been Tested?
My S9
Types of changes
Checklist: