Peko
Peko copied to clipboard
Is it possible to provide battery optimizations (REQUEST_IGNORE_BATTERY_OPTIMIZATIONS) Function?
I don't think this is needed, AFAIK this is not a dangerous permission. Quoting the docs:
Permission an application must hold in order to use ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS. This is a normal permission: an app requesting it will always be granted the permission, without the user needing to approve or see it.
So requesting it with Peko should return permission granted result