I miss the option for this...
The widget only makes the brightest or darkest setting... :-(
Sent from my LT15i using XDA App
when you use the standard "Power Control" widget you can toggle min/user/max
with user being the setting that you set in the display settings.
and if you have a user setting somewhere in the middle, then it will adjust to the ambient light.
If you install widgetsoid (a massively enhanced version of the powercontrol widget mentioned above) the brightness control has an auto option, which works fine.
For ARC, you can enable and disable by executing the following command in a terminal. You can write it in a script file and make it one-button action with the help of "gscript lite".
echo 1 > /sys/devices/i2c-0/0-0040/leds/lcd-backlight/als/enable
1 to enable, 0 to disable
In addition, by adjusting cutoff frequency of low pass filter of ALS output, you can adjust the changing speed of brightness relative to ambient lighting. The command is listed below:
echo 2,4,2,0 > /sys/devices/i2c-0/0-0040/leds/lcd-backlight/als/params
2nd figure "4" is to define cuf-off frequency to 4Hz for
increasing brightness. Range 0~7, larger value for faster change
3rd figure is for decreasing brightness. This example, 2, is to define 2Hz for cut-off frequency.
cruxlin said:
For ARC, you can enable and disable by executing the following command in a terminal. You can write it in a script file and make it one-button action with the help of "gscript lite".
echo 1 > /sys/devices/i2c-0/0-0040/leds/lcd-backlight/als/enable
1 to enable, 0 to disable
In addition, by adjusting cutoff frequency of low pass filter of ALS output, you can adjust the changing speed of brightness relative to ambient lighting. The command is listed below:
echo 2,4,2,0 > /sys/devices/i2c-0/0-0040/leds/lcd-backlight/als/params
2nd figure "4" is to define cuf-off frequency to 4Hz for
increasing brightness. Range 0~7, larger value for faster change
3rd figure is for decreasing brightness. This example, 2, is to define 2Hz for cut-off frequency.
Click to expand...
Click to collapse
I think I just fell in love. Thanks a lot!
daveybaby said:
If you install widgetsoid (a massively enhanced version of the powercontrol widget mentioned above) the brightness control has an auto option, which works fine.
Click to expand...
Click to collapse
I have widgetsoid installed and the auto brightness control just sets my brightness to the minimum..
DemonicHawk said:
I have widgetsoid installed and the auto brightness control just sets my brightness to the minimum..
Click to expand...
Click to collapse
Are you sure? Works here just fine.
Try holding your thumb over the light sensor, see what happens.
Yeah, i've tried covering it and putting a flashlight to it, neither do anything when on auto. I even went into the service menu to make sure it was working properly.
I guess i'll just have to stick with a fixed brightness and let it "auto adjust" as needed. Maybe its the generic .181 build im using?
Hmm, i don´t know who is wrong but i was thinking that the arc only has an automatic brightness that can not be disabled. I have a german arc (unbranded, .181 FW) and it doesn´t matter to which level the brightness is set the automatic is always active and permanently regulates the brightness. Woul be very gald if SE would integrate an automatic brightness on/off setting with the next firmware
cruxlin said:
For ARC, you can enable and disable by executing the following command in a terminal. You can write it in a script file and make it one-button action with the help of "gscript lite".
echo 1 > /sys/devices/i2c-0/0-0040/leds/lcd-backlight/als/enable
1 to enable, 0 to disable
In addition, by adjusting cutoff frequency of low pass filter of ALS output, you can adjust the changing speed of brightness relative to ambient lighting. The command is listed below:
echo 2,4,2,0 > /sys/devices/i2c-0/0-0040/leds/lcd-backlight/als/params
2nd figure "4" is to define cuf-off frequency to 4Hz for
increasing brightness. Range 0~7, larger value for faster change
3rd figure is for decreasing brightness. This example, 2, is to define 2Hz for cut-off frequency.
Click to expand...
Click to collapse
Genius!! Many thanks
Strange! with the update to 2.3.3 it stopped auto-dimming (not sure if it was due to the update or due to me installing juice defender)
And i can not get turn it on with the Power Widget.
cruxlin said:
echo 1 > /sys/devices/i2c-0/0-0040/leds/lcd-backlight/als/enable
1 to enable, 0 to disable
Click to expand...
Click to collapse
I get "permission denied" trying to do that
but "cat" ing the vqalue gives me a 0
do I have to root?
cruxlin said:
echo 2,4,2,0 > /sys/devices/i2c-0/0-0040/leds/lcd-backlight/als/params
2nd figure "4" is to define cuf-off frequency to 4Hz for
increasing brightness. Range 0~7, larger value for faster change
3rd figure is for decreasing brightness. This example, 2, is to define 2Hz for cut-off frequency.
Click to expand...
Click to collapse
cat /sys/devices/i2c-0/0-0040/leds/lcd-backlight/als/params
gain,filter_up,filter_down,offset
2,0,0,0
any clues what gain and offset are used for?
this works brilliantly
Thank you so much
And yes you need ROOT
cruxlin said:
For ARC, you can enable and disable by executing the following command in a terminal. You can write it in a script file and make it one-button action with the help of "gscript lite".
echo 1 > /sys/devices/i2c-0/0-0040/leds/lcd-backlight/als/enable
1 to enable, 0 to disable
In addition, by adjusting cutoff frequency of low pass filter of ALS output, you can adjust the changing speed of brightness relative to ambient lighting. The command is listed below:
echo 2,4,2,0 > /sys/devices/i2c-0/0-0040/leds/lcd-backlight/als/params
2nd figure "4" is to define cuf-off frequency to 4Hz for
increasing brightness. Range 0~7, larger value for faster change
3rd figure is for decreasing brightness. This example, 2, is to define 2Hz for cut-off frequency.
Click to expand...
Click to collapse
Hi cruxlin
Thanks allot for your information on how to change this. I have found on my ARC with 2.3.3 that als/enable is allways configured to "1". Doing echo "0" > als/enable will not change this value. It is working fine for als/params where I managed to change how fast the brightness are changing.
I also discovered an odd way of manually disabling/enabling the light sensor by using the default sony ericsson brightness toggle widget. Setting this to "dim" will disable the auto brightness and you can set the brightness manual to whatever level you wish. When you toggle the widget to enable brightness it will both enable auto brightness and change brightness to the value you previosly used as minimum.
I had for testing added echo 2,6,6,0 > als/params for fast brightness change and using a flashlight. This made the brightness update the same second I moved the flashlight over the light sensor.
I actually very much like the sony ericsson way of controlling this as it enables me to define minimum brightness with auto brightness enabled and very quickly use the dim toggle to quickly change to some other preffered value.
So with that second script you can also get rid of the backlight stuttering higher and lower in some situations?
Ambroos said:
So with that second script you can also get rid of the backlight stuttering higher and lower in some situations?
Click to expand...
Click to collapse
I do not think I have experienced this backlight stuttering, how do you notice this?
I have just yesterday managed to get my auto brightness working, my SE brightness widget had been set to dim shortly after I got the phone and I had not touched it until yesterday unknowing that this also controls the auto brightness
hygge said:
I do not think I have experienced this backlight stuttering, how do you notice this?
I have just yesterday managed to get my auto brightness working, my SE brightness widget had been set to dim shortly after I got the phone and I had not touched it until yesterday unknowing that this also controls the auto brightness
Click to expand...
Click to collapse
It's just that in some low-light situations the automatic brightness flips out, and switches between two settings at an extremely fast speed, creating a flickering effect. Doesn't happen a lot, but it is pretty annoying when it happens.
Ambroos said:
It's just that in some low-light situations the automatic brightness flips out, and switches between two settings at an extremely fast speed, creating a flickering effect. Doesn't happen a lot, but it is pretty annoying when it happens.
Click to expand...
Click to collapse
I do experience that on my Neo too, try to move your phone a bit, or hold your thumb over the light sensor and release it. Works sometimes.
I ran the script in glite and it makes no difference for me any pointers thx
hygge said:
I also discovered an odd way of manually disabling/enabling the light sensor by using the default sony ericsson brightness toggle widget. Setting this to "dim" will disable the auto brightness and you can set the brightness manual to whatever level you wish. When you toggle the widget to enable brightness it will both enable auto brightness and change brightness to the value you previosly used as minimum.
I had for testing added echo 2,6,6,0 > als/params for fast brightness change and using a flashlight. This made the brightness update the same second I moved the flashlight over the light sensor.
I actually very much like the sony ericsson way of controlling this as it enables me to define minimum brightness with auto brightness enabled and very quickly use the dim toggle to quickly change to some other preffered value.
Click to expand...
Click to collapse
It works perfectly for me, thank you.
After upgrading to 2.3.4 where power control widget is missing (I dont know why), I was not able to set auto-mode.
With this solution I recovered it and, more ahead, I have now something I was looking for, the way to set the low brightness intensity, that was very high when dark night.
I cannot set the other paramethers, since I lost root while updating (I'll need to fix this), but for the moment, it works fine.
Again, thanks a lot.
daveybaby said:
If you install widgetsoid (a massively enhanced version of the powercontrol widget mentioned above) the brightness control has an auto option, which works fine.
Click to expand...
Click to collapse
Even if you uncheck auto, it will use the light sensor to set the brightness, the input you give is just the minimal brightness. Try putting the brightness on ~8% in a place with light, then hold you hand above the light sensor. Screen will still become darker.
I just noticed my buttons aren't lighting up anymore :/
Mine stay on whenever charging and at all brightness levels... the only way they'll go off is if I put the phone to sleep (click power button).
Anyone know the setting location? I have Cyanogen & ADW launcher. I've seen it before but it's been so long I forgot where they were and can't find them.
Jodsfk421 said:
Anyone know the setting location? I have Cyanogen...
Click to expand...
Click to collapse
Menu > Settings > CM Settings > Display > Automatic Backlight > Edit other levels
Lower / Upper = readings from the light sensor
Screen = the screen brightness you want based on the lower/upper light sensor values
Buttons = whether or not you want the softkeys on. Unfortunately, they cannot be dimmed (hardware limitations, from what I've read), so 255=on and 0=off
In the default configuration, for example, if the sensor value is 0-199, the screen will be set to brightness 25 and the softkeys will be turned on. If the sensor value is >399, notice that the softkeys turn off (button value changes to 0). If you want the buttons on all the time, set all button values as 255. If you're like me, and you hate the softkey lights, set all button values to 0.
THANK YOU! Exactly what I was looking for and clearly explained!
Anyone know an easy way to dim the Dinc Soft, Capacitive Keys? I've searched around and haven't found a solution. Most apps seem to only be able to turn off the backlight on the soft keys....not dim them.
That is because they only recognize 1s and 0s (on and off, they're a switch, not a dimmer).
Damn....cause the Dinc's backlight on those Soft Keys is pretty damn bright. Wish I could fix this. For now, I just disabled the backlight...
Stupifier said:
Damn....cause the Dinc's backlight on those Soft Keys is pretty damn bright. Wish I could fix this. For now, I just disabled the backlight...
Click to expand...
Click to collapse
Please tell me the way to turn of the light of softkeys i`m with HTC Aria
If u had a galaxy nexus they have on screen buttons and u get to dim them lol just sayin
Sent from my Galaxy Nexus using xda premium
brokerboy said:
Please tell me the way to turn of the light of softkeys i`m with HTC Aria
Click to expand...
Click to collapse
You need to use a script in the init.d folder if your rom supports it. If not you need to use an app like script manager to run it at every boot. This is the script for the incredible, not sure if the path is the same for the aria.
Code:
#!/system/bin/sh
sleep 10
chmod 0666 /sys/devices/platform/leds-gpio/leds/button-backlight/brightness
echo "0" > /sys/devices/platform/leds-gpio/leds/button-backlight/brightness
chmod 0444 /sys/devices/platform/leds-gpio/leds/button-backlight/brightness
All you need to do is download an app called "screen filter." Launch the app, and then you may have to tap on the notification. Then, you can turn your led buttons off pretty well (they may light as soon as you turn screen on, but that's it.) This app is great. You can also using it during the night, when you're texting under the sheets, or when you want to save your battery, because you can make your screen darker than you can from your phone's settings. Please be careful though, do not set the brightness too low! hope this helps!
as for the display do not turn on the backlight of capacitive buttons? I want that only light up when I touch only the capacitive keys?
And why don't you ask on CM thread?don't you think it's more logical you will get an answer there,rather than here?
Not to mention you were not clear what your problem is.
kimitza said:
And why don't you ask on CM thread?don't you think it's more logical you will get an answer there,rather than here?
Not to mention you were not clear what your problem is.
Click to expand...
Click to collapse
I know that cm does not have that option, and because stock lg firmware is avaliable...
I want to know if there is a way to not turn the backlights on the keys when you touch the screen in CM10.2 or 10.1
but only when touch the screen, i want backlight when touch the keys.
Why not disable the brightness.. There's an app "capacitive buttons" on playstore so you can switch on/off ur capactive lights.. Just reboot phone to go back to default settings
Any news about that?
Actually we want the behavior of capacitive buttons to be like in the stock rom
To flash only when we touch them and not all the time regardless if we touch them or not
I found a way to disable the light permanently
su
cd /sys/devices/platform/leds-pm8058/leds/button-backlight-portrait
echo 0 > brightness
chmod 444 brightness
cd /sys/devices/platform/leds-pm8058/leds/button-backlight-landscape
echo 0 > brightness
chmod 444 brightness
Sent from stock LG E975/smart phones,dumb people.