[Verifying] Auto brightness too aggressive

  1. onirikon Honeycomb Aug 15, 2017

    onirikon, Aug 15, 2017 :
    I'm quoting myself,the autibrightness issue is still on after 4.5.8 :
    1) the response time to brightness variation is too slow (about 3 seconds)
    2) the level is too low, especially for low environment light conditions
    Solutions, other than quick response, are :
    A) have a personalized set for each lux level like in Cyanogen
    B) keep saved the correction done by user for each lux level
    OK it l'annuncio annoying bug I can live with, but it would be such a great improvement on user experience for a flagship phone.

    DanilaMaster and Martin1668uk like this.
  2. jaykeeley Cupcake Aug 15, 2017

    Martin1668uk likes this.
  3. abdulrahman Eclair Aug 17, 2017

  4. krzaku12 Donut Aug 24, 2017

    krzaku12, Aug 24, 2017 :
    This is a simple fix with a root, put this in terminal emulator: settings put system screen_auto_brightness_adj [value 0-255]

    How hard can it be to make it into an actual setting? On my previous Samsung phone it was placed very conveniently in the notification bar. If auto brightness was enabled, the brightness bar was replaced with a bar that adjusts the level of auto brightness.

  5. krzaku12 Donut Aug 26, 2017

    Blenderserrt and spymorass like this.
  6. mattam24 Honeycomb Sep 4, 2017

    mattam24, Sep 4, 2017 :
    What is screen_auto_brightness_adj doing? What is a level of auto brightness?

  7. nikunj.chadha Cupcake Sep 13, 2017

  8. krzaku12 Donut Sep 14, 2017

    krzaku12, Sep 14, 2017 :
    As the name implies it adjust the brightness level that is set automatically based on the light sensor :) For some people the lowest level the phone goes to is much too low so I've written this tool to adjust the brightness by a set amount.

  9. mattam24 Honeycomb Sep 14, 2017

    mattam24, Sep 14, 2017 :
    You are not very good in explaning it. I had to google it and found this:

             * Adjustment to auto-brightness to make it generally more (>0.0 <1.0)
             * or less (<0.0 >-1.0) bright.
            public static final String SCREEN_AUTO_BRIGHTNESS_ADJ = "screen_auto_brightness_adj";
    But on OnePlus 5 the value ranges between 0 and 255 and get's reset to 0.0 every time you switch off the screen. When I set it manually to let's say 100 it changes the brightness to 100, but when you switch off the screen and switch it on again it's all gone. This is rubish.

  10. mattam24 Honeycomb Sep 14, 2017

    mattam24, Sep 14, 2017 :
    The value for the screen_auto_brightness_adj should be between -1.0 and 1.0 but on OP5 it is between 0 and 255. On OP5 it does not adjust anything, it controls the brightness level. When you change the level manually with the slider and read then the vale with
    you get the new value for brightness. But this is not the adjustment you are talking about. All the google results for system screen_auto_brightness_adj are from 2015. This does not work on Android 7.1.1 and it does not require even root to read and write the value. Have you really tried it on OP5 with success? Or are just thinking it should work because you tried it on Lollipop?

  11. krzaku12 Donut Sep 14, 2017

    krzaku12, Sep 14, 2017 :
    I explained correctly what this setting does and what its for. The value is not reset to 0 when the screen goes off, but it is reset very often (it's not documented at all so we're lucky it's even working at all) which is why I implemented a function that sets this setting every 2 seconds even when the screen is on to compensate for that. And yes, it does work on Android 7.1.1, I'm using it myself.