Remove app from whitelist in android marshmallow

前端 未结 2 1514
半阙折子戏
半阙折子戏 2021-01-28 09:42

I didn\'t find useful info how to programically or using device\'s settings remove specific app from white-listed.

In android 6.0 was introduced doze-mode and while-lis

相关标签:
2条回答
  • 2021-01-28 10:07

    you could add or remove from whitelist typing this on ADB shell

    dumpsys deviceidle whitelist +YOUR.PACKAGE

    dumpsys deviceidle whitelist -YOUR.PACKAGE

    in my case I need to reboot and I don´t need Root access

    0 讨论(0)
  • 2021-01-28 10:21

    I found the solution why I didn't find disable button to remove or optimizate battery. Because such button missed in FlymeCover. The FlymeCover ignore android white-listed and use own optimization.

    0 讨论(0)
提交回复
热议问题