title: Confusions about the system brightness under Android
body: <p>Confusions about the system brightness under Android.
  I use Android 10.0+ (R) with SDK 30.0.2.</p>
  <p>The system brightness and its objects are documented in:
  <a href="https://developer.android.com/reference/android/provider/Settings.System#SCREEN_BRIGHTNESS" rel="nofollow noreferrer">https://developer.android.com/reference/android/provider/Settings.System#SCREEN_BRIGHTNESS</a></p>
  <p>There is documented that the system brightness can be set in the range 0..255.</p>
  <p>This is wrong!</p>
  <p>As practical tests show, the adjustable range is significantly larger on many newer devices.</p>
  <p>For example, on the &quot;Xiaomi Mi 10&quot; is the Range -&gt; 10..2047.</p>
  <p>But if limits are obviously variable, it should also be possible to determine the min and max for a meaningful setting.</p>
  <p>Unfortunately I have not found a currently variant.</p>
  <p>How can I read out the range for the system brightness?</p>