title: Disabling battery optimization
body: <p>Huawei and Honor devices have a mode called "power intensive app" that notifies the user of abnormally consuming apps.</p>
  
  <pre><code>Settings &gt; Battery &gt; "gear icon" &gt; "Close excessively power-intensive apps" &gt; On/Off
  </code></pre>
  
  <p>Is there a way to disable it programmatically in Huawei and Honor devices?
  If not, is there someone who knows an intent that call the battery menu so i can disable it manually?</p>
  
  <p>I have already try </p>
  
  <pre><code>Intent.ACTION_POWER_USAGE_SUMMARY
  Settings.ACTION_BATTERY_SAVER_SETTINGS
  </code></pre>
  
  <p>but it doesn't work</p>