[MOD] Lower Autobrighntess values - battery saver

Status
Not open for further replies.
Search This thread
J

j4n87

Guest
For people that want to save some battery juice and think that the autobrighntess values are too high...I got the right mod for you.

I lowered the autobrighntess values in framework-res:

old:
Code:
    <integer-array name="config_autoBrightnessLcdBacklightValues">
        <item>63</item>
        <item>63</item>
        <item>63</item>
        <item>96</item>
        <item>130</item>
        <item>143</item>
        <item>171</item>
        <item>199</item>
        <item>227</item>
        <item>255</item>
    </integer-array>

new:

Code:
  <integer-array name="config_autoBrightnessLcdBacklightValues">
        <item>1</item>
        <item>11</item>
        <item>23</item>
        <item>35</item>
        <item>48</item>
        <item>55</item>
        <item>80</item>
        <item>150</item>
        <item>200</item>
        <item>255</item>
    </integer-array>


People who dont know what this mod is doing, a small explanation.

When you got your brighntess on "automatic" your screen brighntess will be set regarding the value of you brighntess sensor.

So if its dark outside = low screen brighntess,
if its bright outside = high screen brighntess.

But in my opinion the brighntess states of the automatic screen brighntess are far too high and wastes battery.

When you also compare both first values in the two arrays you see that the minimum autobrighntess value was at 63 as default.
So when its completly dark in your room/outside your screen brighntness is brighter then it has to be.
...so you have maybe already noticed that the manual brighntess you can yet is far lower then the minimum autobrighntess value.


Its a flashable zip and compatible with Leedroid Tweaks.
In the next version of Leedroid Tweaks there will be a toggle to choose different autobrighntess arrays:

normal, low, lowest.

But for now you can use this zip with my prefered values.

hf:

Pls make a backup, before flashing this zip.

http://d-h.st/JWk
 
Last edited:
J

j4n87

Guest
Works great. It's not as over powering with the brightness now.

Sent from my HTC One X using Tapatalk 2

Yeah, but still need to test if that values are okay for daily use.
Could be that a few steps are too low, so wou wouldlnt see the screen as good when its bright outside.
Just tested it my office..will seeover teh next two days if that values are okay (-:
 

pdagenius

Senior Member
Nov 4, 2006
551
34
This mod seems a good idea. :)

Have only been using my phone for a day or so, but the screen does seems to drain the battery somewhat. Am hopeful that your mod will help.

It's a good idea to have different profile with LeeDroid tweaks.
 

nickyg008

Senior Member
Mar 14, 2010
249
58
Mod working great. Now to reap the rewards of better battery life :rolleyes:

Sent from my HTC One X using XDA
 

bamserl

Senior Member
Feb 18, 2009
176
24
Klagenfurt
great mod, i like your new settings. i tried your new setings today afternoon in my car, the display was bright enough for me.

more outdoor usage this weekend, i will tell you if the brighness is too low.
 

beanbean50

Senior Member
Jul 9, 2008
3,487
1,640
London
it's working perfect in low/no light, just the right brightness for me :)

however, during the bright day light this afternoon it was constantly changing brightness, one second very bright, 2nd second very dark, third second somewhere in between :eek: then start the cycle again one second very bright, 2nd second....

but seeing that no one else has mentioned about this then i conclude it must be something that i've done wrong... again... hehe (i'm gonna keep using tomorrow and see how it behaves)

keep up the good work matey and take ur sweet time before getting married, as someone once said 'Marry in haste, repent at leisure' :D:D:D
 
  • Like
Reactions: shani248

Whiskey103

Member Advocate Admin / Developer Committee
Staff member
Thanks.

Did you perhaps find a solution for the backlight of the menu buttons.
I get the feeling they are not lighting up correctly.
When iam in my backyard in the dark the buttons don't light up, till you cover the sensor complete.

Others are having the same problem?
Can you tweak those values too?

Sent from my HTC One X using xda premium
 
J

j4n87

Guest
Thanks.

Did you perhaps find a solution for the backlight of the menu buttons.
I get the feeling they are not lighting up correctly.
When iam in my backyard in the dark the buttons don't light up, till you cover the sensor complete.

Others are having the same problem?
Can you tweak those values too?

Sent from my HTC One X using xda premium

They are also in framework-res (-:
 

the_real_fosgate

Senior Member
Sep 5, 2008
769
39
Obertaufkirchen
Thanks.

Did you perhaps find a solution for the backlight of the menu buttons.
I get the feeling they are not lighting up correctly.
When iam in my backyard in the dark the buttons don't light up, till you cover the sensor complete.

Others are having the same problem?
Can you tweak those values too?

Sent from my HTC One X using xda premium

+1 ... same problem here
 
J

j4n87

Guest
hey buddy,
do you have stock value zip in case want to back to it?

Thanks


you could just replace the framework-res with the one of your preferred rom in the flashable zip. or when your use leedroid tweaks use the framework-res of that.

At work at, can provide two flashable zips after work.
 

qw_zzz

Senior Member
Feb 12, 2009
50
7
hi,

is it possible for a rooted phone without any mods to flash this in?
since ur 1st post stated leedroid tweaks which i assumed meant mainly for leedroid mods
 
J

j4n87

Guest
hi,

is it possible for a rooted phone without any mods to flash this in?
since ur 1st post stated leedroid tweaks which i assumed meant mainly for leedroid mods

it will work on each rom, which is rooted and deodexed.

...not really sure about the deoxed one..make a cwm backup and try it (-:
 

beanbean50

Senior Member
Jul 9, 2008
3,487
1,640
London
it's a bright sunny afternoon here and your auto brightness settings are working perfect today, must have been the gremlins yesterday :D

i've made a bunch of transition effects including ics, bounce, flip etc using your zip to flash them, if you want to test them and use them you are more than welcome :D (i've downloaded to my dropbox, so pm me if you're interested)
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    I'm having some issue using APM by jotha and dim.brightness by j487n together.

    I install APM before, and everything works nice.
    2012-05-25_16-05-46.png


    then, if I install the brightness mod I have my Power Menu a little broken.

    2012-05-25_16-15-50.png


    Is it possible they are not compatible? Or maybe I solve this flashing them in the reverse way?

    If you use j4n87's framework-res.apk or the one of your rom, it's logical that you kill my apm, lol. You either have to edit your values into my framework-res.apk or wait another day. I will make an option for lower autobrightness in my apm mod probably tonight.
    1
    it's working perfect in low/no light, just the right brightness for me :)

    however, during the bright day light this afternoon it was constantly changing brightness, one second very bright, 2nd second very dark, third second somewhere in between :eek: then start the cycle again one second very bright, 2nd second....

    but seeing that no one else has mentioned about this then i conclude it must be something that i've done wrong... again... hehe (i'm gonna keep using tomorrow and see how it behaves)

    keep up the good work matey and take ur sweet time before getting married, as someone once said 'Marry in haste, repent at leisure' :D:D:D
    1
    Anyone tried this on the 1.29.x base?

    Sent from my HTC One X using Tapatalk 2

    Working well with ARHD 5.0( 1.29.x base)
    1
    is it compatible with 1.29.401.11 ?

    I'm using it on the latest base without issues :)

    Sent from my HTC One X using Tapatalk 2
    1
    I will make an option for lower autobrightness in my apm mod probably tonight.

    If you do this, you are 1 time more my personal Hero! :D