Closed HannesGitH closed 7 months ago
@HannesGitH since this solution only applies to Android, this is something that we probably won't accept as a PR.
However, you're more than welcome to release a separate library targeting this Android specific feature.
Description
simply adds a new variant with CPU suffix to the api, toggling the android cpu wakelock
i.e. in addition to
WakelockPlus.toggle(..)
we can now also useWakelockPlus.toggleCPU(..)
etc.