xingda920813 / HelloDaemon

Android 服务保活/常驻 (Android service daemon using JobScheduler)
MIT License
2.31k stars 443 forks source link

Android 8.1, Android improved the optimization and in the background of the application do not work. #53

Closed ArTyGill closed 6 years ago

ArTyGill commented 6 years ago

There are ideas how to scan bluetooth in the background and off screen.

KosmoSakura commented 6 years ago

great

zouyanggary commented 6 years ago

the same problem

ArTyGill commented 6 years ago

Solved the problem by providing access to disable power saving for my application, while the settings had to be changed in several places on the Huawei P20.

TracyEminem commented 5 years ago

Solved the problem by providing access to disable power saving for my application, while the settings had to be changed in several places on the Huawei P20.

how to provide access to disable power saving for my application?i also need to keep ble scan in the background and off screen ,do you have any solutions?