Hello to all.
A friend talk with the @Taifun and he developed an extension to solve this: Extension to request IGNORE BATTERY OPTIMIZATIONS. Remember: this will not help to run your app in the background!
PS: This solved this problem, but the in Google Play this option is only allowed to some cases.