title: How we can make sure we are allowed to use REQUEST_IGNORE_BATTERY_OPTIMIZATIONS permission
body: <p>Our app is a location app that will run in background and report user’s locations to server so that his members can track them.
  In Android 6, because of the <strong>Automatic Battery Optimisation (Doze mode)</strong>, our app couldn’t report user’s location to server because the Data Connection was disconnected.
  We found out that an app can actually make use of the permission <code>REQUEST_IGNORE_BATTERY_OPTIMIZATIONS</code> so that it can be whitelisted for battery optimization without user’s interaction.
  However, we are not sure if we are allowed to use that permission because there’s no clear definition on what kind of app can use it, and in developer forum, we read some developers posting that their apps got removed from Play Store because Google thinks their app are not eligible to use the permission.</p>
  
  <p>How can we make sure we are allowed to use this permission?</p>