• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

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

Search This thread

jader13254

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

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://forum.xda-developers.com/showthread.php?t=2342987
 

Attachments

  • Keylight.zip
    689 bytes · Views: 3,811
Last edited:

shadow532

Senior Member
Apr 5, 2011
77
5
[TWEAK / HACK] Hey Guys,

[Q] Do you getting angry because of Battery Drain on your ROM?
[A] Than Disable the LED-BACKLIGHT on your Buttons.

[Q] How?
[A] Go to your Sys Folder with an Root-Explorer and than Class>Leds>Button-Backlight and set to 0 or anything between 0 and 255.

[Q] Which Values I can Use?
[A] Well, Between 0 and 255, 0=OFF and 255=max Brightness and 100=dark and 200=light

[Q] I'm very silly and i don't understand that.
[A] Than take a look at this and i hope you understand now.

[Q] What Now?
[A] Ask your Mother or Hit Thanks or Suscribe on YouTube

Bye ;)

Thx i have been looking for this for very long alr.
 

varader0zs

Member
Sep 20, 2010
35
2
[TWEAK / HACK] Hey Guys,

[Q] Downloadlink?
[A] Here

[Q] Do you getting angry because of Battery Drain on your ROM?
[A] Than Disable the LED-BACKLIGHT on your Buttons.

[Q] How?
[A] Go to your Sys Folder with an Root-Explorer and than Class>Leds>Button-Backlight and set to 0 or anything between 0 and 255.

[Q] Which Values I can Use?
[A] Well, Between 0 and 255, 0=OFF and 255=max Brightness and 100=dark and 200=light

[Q] I'm very silly and i don't understand that.
[A] Than take a look at this and i hope you understand now.

[Q] What Now?
[A] Ask your Mother or Hit Thanks or Suscribe on YouTube

[Q] Are there any Bugs?
[A] Yes :-/ List of Bugs

[Q] That wasn't funny! What are the Bugs?
[A] Ok, Sry for that. Bugs: Value go back to stock after 2 minutes. To Disable try to reboot immediately after enabling. We R Working on it.

[Q] That's Bad!
[A] OMG. Kill ME!

[Q] Why are you joking all the time?
[A] Because i like it.

Bye ;)

but this does not work. After 1 minute or two, the light back again
 
  • Like
Reactions: myil

Qwerty123 \m/

Senior Member
Nov 3, 2011
1,194
411
xxxxxxxxx
[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
 

varader0zs

Member
Sep 20, 2010
35
2
WORKING AGAIN!!

[TWEAK / HACK] Hey Guys,

[Q] Downloadlink?
[A] Here or Direct-Link Here

[Q] Do you getting angry because of Battery Drain on your ROM?
[A] Than Disable the LED-BACKLIGHT on your Buttons.

[Q] How?
[A] Go to your Sys Folder with an Root-Explorer and than Class>Leds>Button-Backlight and set to 1.

[Q] Which Values I can Use?
[A] Well, only 1.

[Q] I'm very silly and i don't understand that.
[A] Than take a look at this and i hope you understand now.

[Q] What Now?
[A] Ask your Mother or Hit Thanks or Suscribe on YouTube

[Q] Are there any Bugs?
[A] Yes :-/ List of Bugs or this

[Q] That wasn't funny! What are the Bugs?
[A] Ok, Sry for that. Bugs: -

(Idea by varader0zs)

Bye ;)

WORKING AGAIN!!

what is written here, still not working
 

maliceomalice

Senior Member
Apr 26, 2011
1,209
243
So this thing affect the brightness at our hardkey button...?

If i reboot,would the setting revert back?

Sent from my LT18i using xda premium
 

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://forum.xda-developers.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