eclipse / paho.mqtt.android

MQTT Android
Other
2.88k stars 862 forks source link

How to keep mq connection, after cpu hibernate. #476

Open jiangkun123 opened 2 years ago

jiangkun123 commented 2 years ago

After the mq connection is successful, the device will automatically lock the screen, and the client will be disconnected after a few minutes

API Version :1.1.1 Android Version:29

VulkanSystems commented 1 year ago

What is the main purpose of your project? You have many options to deal with this (wake lock, power management, put WiFi in performance mode...) Hope still helps.