Skip to content

[Android Only] Added various other functions#1

Open
bassena wants to merge 19 commits intoboltex:masterfrom
bassena:master
Open

[Android Only] Added various other functions#1
bassena wants to merge 19 commits intoboltex:masterfrom
bassena:master

Conversation

@bassena
Copy link

@bassena bassena commented Aug 9, 2016

I rather create the pull request for this fork since this one uses the proper PARTIAL_WAKE_LOCK.

I needed a way to check the Android device's idle state, and was already using this plugin for the above PARTIAL_WAKE_LOCK, so I piggybacked off of the existing PowerManager object. I think this is appropriate since this is a power management plugin.

@bassena
Copy link
Author

bassena commented Aug 10, 2016

I have added more functions to handle the whitelisting of the app to get around battery optimization (circumventing Doze) for Android 6.0.0+ (API >= 23)

@bassena bassena changed the title [Android Only] Added 'isDeviceIdleMode' function [Android Only] Added various other functions Aug 12, 2016
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

Successfully merging this pull request may close these issues.

1 participant