[Hack] Save Battery with Disabling Button Backlight on Xperia arc & other Phones

Search This thread

adiif1

Senior Member
Jul 3, 2011
595
25
Look for my problem...
594eaa03-b150-b114.jpg


Wysyłane z mojego LT18i za pomocą Tapatalk 2
 

XDAarc2011

Senior Member
Jun 9, 2011
179
9
Are we able to control them? For instance, when I get an SMS, that they should blink!?

I was always looking for that, and I am sure many more, too.
 
Last edited:

jader13254

Senior Member
May 25, 2012
5,928
17,917
Hamburg
yes

It should be possible..
Request an app in the forum or a mod / tweak. I have no time at the moment for developing :-/ (i never have time, because i am no developer hehe xD)
 

soldiers33

Senior Member
Nov 28, 2009
688
135
has anyone else realized theres autobrightness control in hw_config? I changed it from 1 to 0 which I believe means off and I think theres no more auto brightness. I cant see the screen flickering like before.
 

xin.wei

Member
Jun 23, 2012
18
2
the settings revert after phone reboot for me. work around it by creating a script and run it automatically using script manager on system boot

Code:
chmod 666 /sys/class/leds/button-backlight/brightness
chmod 666 /sys/class/leds/button-backlight/max_current
echo 1 > /sys/class/leds/button-backlight/brightness
echo 1 > /sys/class/leds/button-backlight/max_current
 
  • Like
Reactions: jader13254

Top Liked Posts

  • There are no posts matching your filters.
  • 108

    Supported Devices:
    Xperia arc and arc S
    -.13
    - .587
    - .431
    -. 4.0.3
    - GB
    Xperia Ray
    -.13
    - .587
    - .431
    -. 4.0.3
    - GB


    In this thread I'll show you how to disable the button backlight on your Xperia device.

    Step-by-step:
    1. Mount /system as read and write, i.e. RW
    2. Go To /sys/class/leds/button-backlight and change max_current to "1".
    3. Go To /system/etc/hw_config and scroll down a bit. Now change max_current to "1".
    4. Reboot. Buttons Light will not light up anymore.

    I made a script. Check it out! http://xdaforums.com/showthread.php?t=2342987
    4
    To completely disable LEDs backlight

    but this does not work. After 1 minute or two, the light back again

    This is a general solution for XPERIA devices so the file and the line could vary according to the device you use

    1. Go to folder /sys/class/leds/button-backlight
    Set brightness file value to 0 and
    Set max_current file value to 1

    2. This step will persist the values after reboot and completely disable the LED backlights :D
    So, go to folder /etc
    Open file hw_config.sh

    Go to line "echo 1 > $dev/button-backlight/als/enable"
    Change echo to 0 like "echo 0 > $dev/button-backlight/als/enable"

    Now Go to line "echo 900 > $dev/button-backlight/maxcurrent"
    Change echo to 1 like "echo 1 > $dev/button-backlight/maxcurrent"



    Below procedure actually work for me on my XPERIA Neo V (MT11i) with codename 9 ROM

    XPERIA Neo V has two backlight behind home buttons one coded as rgb1 and other as rgb2 I'm going to disable both

    1. This step will persist the values after reboot and completely disable the LED backlights :D
    Go to folder /etc
    Open file hw_config.sh

    2. Go to line "echo 1 > $dev/button-backlight-rgb-1/als/enable"
    Change echo to 0 like "echo 0 > $dev/button-backlight-rgb-1/als/enable"

    3. Go to line "echo 1 > $dev/button-backlight-rgb-2/als/enable"
    Change echo to 0 like "echo 0 > $dev/button-backlight-rgb-2/als/enable"

    4. Now Go to line "echo 900 > $dev/button-backlight-rgb1/maxcurrent"
    Change echo to 1 like "echo 1 > $dev/button-backlight-rgb-1/maxcurrent"

    5. Now Go to line "echo 900 > $dev/button-backlight-rgb2/maxcurrent"
    Change echo to 1 like "echo 1 > $dev/button-backlight-rgb-2/maxcurrent"

    6. Reboot ( Changes will not take affect until you reboot the phone ).
    3
    But is this the right Forum? Because, its no Question, and no Development in any way, so should i have posted it to general?
    3
    really? (even with changed @hw_config)??

    yes. so I use that code (Attach Files). Copy to etc/init.d
    3
    [Q] Which Values I can Use?
    [A] Well, Between 0 and 255, 0=OFF and 255=max Brightness and 100=dark and 200=light

    far as i know 1= Off
    0 = max brightness

    78pkf.png


    always works
    And i always set it to 1