Skip to content

Foreground service with PowerManager.PARTIAL_WAKE_LOCK going to sleep #62692

Closed Answered by Doraemon730
guymillicare asked this question in Mobile
Discussion options

You must be logged in to vote

You should use REQUEST_IGNORE_BATTERY_OPTIMIZATIONS permission and ignore battery optimization for the app.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by guymillicare
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Mobile
Labels
Mobile Triage your notifications and browse code on the go with the GitHub Mobile app Question
2 participants