Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to provide battery optimizations (REQUEST_IGNORE_BATTERY_OPTIMIZATIONS) Function? #16

Open
auroralepus opened this issue Mar 28, 2022 · 1 comment

Comments

@auroralepus
Copy link

No description provided.

@deva666
Copy link
Owner

deva666 commented Mar 28, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants