I am the developer of a messaging application. My application get put on an automatic power save mode which prevents messages from getting through.
When I go to the App Power Saving option on a Samsung phone (Settings->Battery->App Power Saving option), I can see that this option is "Disabled" for certain apps (like WhatsApp and Facebook messenger).
When I do a clean install of the WhatsApp application, the power saving mode gets disabled by default before I even open the app.
This seems to be specific to Samsung devices Android version 6.0.1 and higher.
Is it possible to disable power saving by default for my application?