andoird settings / request for power optimization exemption #426

Merged
dan merged 3 commits from power into trunk 2022-04-13 21:23:41 +00:00
Owner
No description provided.
Member
Drone Build Status: success https://build.openprivacy.ca/cwtch.im/cwtch-ui/696
sarah requested changes 2022-04-13 18:56:40 +00:00
@ -2,2 +2,3 @@
"@@locale": "cy",
"@@last_modified": "2022-04-06T22:31:33+02:00",
"@@last_modified": "2022-04-13T02:54:41+02:00",
"settingAndroidPowerExemptionDescription": "Android by default applies an \"optimized\" power management profile to apps which can result in them being stopped or killed. Request Android to exempt Cwtch from this for better stability but more power use.",
Owner

"Optional: Request Android to exempt Cwtch from optimized power management. This will result in better stability at the cost of greater battery use."

"Optional: Request Android to exempt Cwtch from optimized power management. This will result in better stability at the cost of greater battery use."
dan marked this conversation as resolved
@ -4,0 +3,4 @@
"@@last_modified": "2022-04-13T02:54:41+02:00",
"settingAndroidPowerExemptionDescription": "Android by default applies an \"optimized\" power management profile to apps which can result in them being stopped or killed. Request Android to exempt Cwtch from this for better stability but more power use.",
"settingAndroidPowerExemption": "Android Ignore Battery Optimizations",
"thisFeatureRequiresGroupExpermientsToBeEnabled": "This feature requires the Groups Experiment to be enabled in Settings",
Owner

you will need to merge

you will need to merge
dan marked this conversation as resolved
@ -175,0 +227,4 @@
if (value) {
requestBatteryExemption();
} else {
// We don't ask for it to be turned off, user has to manually in android settings, so this is a NOP
Owner

In this case we should pop up a dialog tellin the user how to turn this off.

In this case we should pop up a dialog tellin the user how to turn this off.
dan marked this conversation as resolved
dan force-pushed power from 0586d26c52 to a94fd3547b 2022-04-13 21:09:40 +00:00 Compare
sarah approved these changes 2022-04-13 21:12:29 +00:00
Member
Drone Build Status: success https://build.openprivacy.ca/cwtch.im/cwtch-ui/697
dan merged commit 2a712565e9 into trunk 2022-04-13 21:23:41 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cwtch.im/cwtch-ui#426
No description provided.