Add a setting/button/toggle for battery saving
There are some settings inside Nebulo which can minimize battery impact. A setting (toggle?) should be added, which:
- Disables the cache
- The system already has a cache. If no higher caching times are configured in the app it's just a waste of RAM and CPU.
- Disables logging
- Logging stuff writes to a file and processes the individual log entries
- Enables the simple notification
- With the simple notification it doesn't have to refresh as often (the default notification has to refresh with each query), saving Battery
- Disables query logging
- For query logging the queries have to be memorized in RAM and saved to a database twice (request & response), using CPU time and RAM.
- Disables 'restart on network change'
- Restarting the VPN takes time and (until the next garbage collection) ties up more RAM than required.