title: Change adaptive brightness level programmatically
body: <p>How can I change the adaptive brightness level programmatically, on Android Lollipop?</p>
  
  <p>I know how to change the manual <code>brightness level</code>, and to toggle on or off the <code>adaptive brightness</code>. It is done like that:
  <code>Settings.System.putInt(cr, Settings.System.SCREEN_BRIGHTNESS, newLevel);</code></p>
  
  <p>However, with <code>adaptive brightness</code> is enabled, the OS combines it with another <code>brightness level</code> which is different than the manual one.</p>
  
  <p>Is there a way to do this?</p>
  
  <p>Target/min/max SDK is 21.</p>