Some devices (Asus, Huawei, ecc,ecc) have a advanced battery management,
if i want have all features of app i will permit all operations,
exclude the app from advanced battery management.
I can do in manual mode from android menu.
how can I set up in automatic mode the app for exclude the battery management?
i add
AddPermission(android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS)
in manifest, but the features also are limited and android settings is not changed