rust - Will Android allow an app to run 247 using PARTIAL_WAKE_LOCK, or will it eventually kill the process? - Stack Overflow

I need to write an Android app that operates continuously in all modes (foreground, background, and scr

I need to write an Android app that operates continuously in all modes (foreground, background, and screen-off), maintains stable server communication (basically web page opened which does something in the background).

I want to use PARTIAL_WAKE_LOCK with periodic renewal of the lock with turned off battery optimization for app.

I need to use Rust + Tauri framework for UI.

So, my question is, will it work, or will Android kill this process after some time? Maybe there are other caveats that I need to be aware of?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742410462a4438708.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信