title: Set default screen brightness to 'auto'
body: <p>I am using the following code to get the screen brightness.</p>
  
  <pre><code>    private static int getBrightness(Context context) {
      try {
          int brightness = Settings.System.getInt(context.getContentResolver(),
          Settings.System.SCREEN_BRIGHTNESS);
          return brightness;
      } catch (Exception e) {
      }
      return 0;
  }
  </code></pre>
  
  <p>This code gives me the current brightness = 102 (which is correct). But I need to set the default brightness mode to 'auto'. How do I do that?</p>