Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
THREAD CLOSED
Tip us?
j4n87 Old
(Last edited by j4n87; 12th April 2012 at 12:59 PM.)
#1  
Guest
Thanks Meter
Posts: n/a
Default [MOD] Lower Autobrighntess values - battery saver

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
The Following 48 Users Say Thank You to For This Useful Post: [ Click to Expand ]
 
Onepagebook
Old
#2  
Onepagebook's Avatar
Recognized Themer
Thanks Meter 1859
Posts: 1,701
Join Date: Dec 2010
Location: Columbus, Land of Buckeye

 
DONATE TO ME
Thank you to bring this amazing mod
 
Evil-Dragon
Old
#3  
Evil-Dragon's Avatar
Senior Member
Thanks Meter 372
Posts: 672
Join Date: Dec 2010
Location: Solihull
Works great. It's not as over powering with the brightness now.

Sent from my HTC One X using Tapatalk 2


My Blog: Rooted.Me.Uk

Phone: HTC Sensation [S-OFF][SuperCID] [ROM: Android Revolution HD [Latest]]
Phone: HTC One X [S-ON] [UNLOCKED][ROM: Android Revolution HD [Latest]]

Free 11GB of storage for your phone/PC with Minus: Click Here
j4n87 Old
#4  
Guest
Thanks Meter
Posts: n/a
Quote:
Originally Posted by Evil-Dragon View Post
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 (-:
The Following User Says Thank You to For This Useful Post: [ Click to Expand ]
 
Evil-Dragon
Old
#5  
Evil-Dragon's Avatar
Senior Member
Thanks Meter 372
Posts: 672
Join Date: Dec 2010
Location: Solihull
Will keep you posted, weather here is awful atm, so can't test in sunny conditions but inside is fine.

Sent from my HTC One X using Tapatalk 2


My Blog: Rooted.Me.Uk

Phone: HTC Sensation [S-OFF][SuperCID] [ROM: Android Revolution HD [Latest]]
Phone: HTC One X [S-ON] [UNLOCKED][ROM: Android Revolution HD [Latest]]

Free 11GB of storage for your phone/PC with Minus: Click Here
 
jerrylzy
Old
#6  
jerrylzy's Avatar
Senior Member
Thanks Meter 101
Posts: 973
Join Date: Aug 2010
Location: Chengdu
Thanks..I'll try it later..

Phone | HTC One X S720e
ROM | Stock 3.14.401.31
Kernel | ncx_314_v8_SENSE
Freq | min 51 max 1500 governor ondemand
Radio | 5.1204.162.29
HBoot | 1.39.0000 s-off
Headset | Beats Pro
 
pdagenius
Old
#7  
pdagenius's Avatar
Senior Member
Thanks Meter 23
Posts: 435
Join Date: Nov 2006
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.
Galaxy SIII I9300 [CyanogenMod 10 Rom]

Galaxy Note 10.1 GT-N8010
Useful info:
 
GuyAdams
Old
#8  
GuyAdams's Avatar
Senior Member
Thanks Meter 1758
Posts: 1,957
Join Date: Jun 2007
Location: Nottinghamshire

 
DONATE TO ME
Already liking this mod, many thanks

Sent from my HTC One X using Tapatalk 2
Device: HTC One (M7)
ROM: Renovate Revision (who knows) by mwilky
Kernel: Stock
Recovery: ClockworkMod Touch Recovery 6.0.3.0

Repacked Kernels for ARHD (One X) & Kernels Archive

Have a question? About to post? Read this first.
 
nickyg008
Old
#9  
Senior Member
Thanks Meter 46
Posts: 214
Join Date: Mar 2010
Mod working great. Now to reap the rewards of better battery life

Sent from my HTC One X using XDA
 
Lo_RaT_PeNaT
Old
#10  
Lo_RaT_PeNaT's Avatar
Senior Member
Thanks Meter 113
Posts: 897
Join Date: Aug 2008
Location: Valencia
great job, there would be possibility of a zip to restore the original values​​?, thank you very much.



THREAD CLOSED
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...