Android-nRF-Toolbox
Android-nRF-Toolbox copied to clipboard
Battery optimization is killing nrf-toolbox while running in the background
This happens in Android 7.+
Any workaround/ solutions?
Are you guys updating this app?
Hi @vineeshvs, Yes, nRF Toolbox is under maintenance. Most new changes are on develop branch, but indeed I forgot about the battery optimization. The solution would be to keep running the service in foreground. Foreground services display a constant notification to the user, but the OS won't kill them automatically. I'll fix the issue before the develop branch is merged to master, but it may take few days. Thank you for creating the Issue.
This will have to wait. We don't have time to fix this issue now. Most probably we will fix it together with rewriting the app in Kotlin. Unknown ETA. Let's leave it open.
Does this solve the issue described here?