Programmatically disable app power saving mode on Samsung : <p>I am the developer of a messaging application. My application get put on an automatic power save mode which prevents messages from getting through.</p>

<p>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).</p>

<p>When I do a clean install of the WhatsApp application, the power saving mode gets disabled by default before I even open the app.</p>

<p>This seems to be specific to Samsung devices Android version 6.0.1 and higher.</p>

<p>Is it possible to disable power saving by default for my application?</p>
