Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

Keep CPU awake #46

Open
rugk opened this issue Apr 22, 2017 · 1 comment
Open

Keep CPU awake #46

rugk opened this issue Apr 22, 2017 · 1 comment
Milestone

Comments

@rugk
Copy link

rugk commented Apr 22, 2017

When the app is running, it should keep the CPU awake even when going to sleep and not stop the app. There are permissions for doing so and other apps even have an option in the setting. Technically it is called wake lock.
Otherwise recordings may stop in the middle or not even start when the device's screen is turned off.

Also note that Android 6/7s "battery optimisation" can cause the same problem, but also here you can use a permission to ask the user to turn it off (with one tap by just answering a question). See doze.

@brvier brvier added this to the 1.2.0 milestone Sep 6, 2017
@brvier
Copy link
Owner

brvier commented Sep 6, 2017

Wake lock is already implemented, via a cordova plugin.
Probably need more test for some device having more aggressive sleep mode (like the Sony Android phone)

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

No branches or pull requests

2 participants