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
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
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.