Added check of system battery usage optimisation with dialog to prompt user to disable it.

This commit is contained in:
Graham Jones
2022-02-05 20:40:32 +00:00
parent dd7c01b8ea
commit 4fb83d04c9
2 changed files with 50 additions and 17 deletions

View File

@@ -341,4 +341,6 @@
<string name="not_updating_mobile">Not Updating using Mobile Internet</string>
<string name="not_updating_no_network">No Network Connection</string>
<string name="error_connecting_to_server">Error Connecting to Server</string>
<string name="battery_usage_optimisation_dialog_title">WARNING: Battery Usage Optimisation</string>
<string name="battery_usage_optimisation_dialog_text">WARNING: The Android System Battery Optimisation Settings are configured to \'Optimise\' OpenSeizureDetector. This means it is likely to be shutdown when operating on battery power, so will not work correctly\n\nPlease go into the Phone Settings and search for \'Optimise Battery Usage\' and ensure that OpenSeizureDetector is NOT optimised</string>
</resources>