Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,733,098 Members 46,076 Now Online
XDA Developers Android and Mobile Development Forum

[MOD] Lower Autobrighntess values - battery saver

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 2293
Posts: 1,891
Join Date: Dec 2010
Location: Land of Buckeye & Formosa

 
DONATE TO ME
Thank you to bring this amazing mod
 
Evil-Dragon
Old
#3  
Evil-Dragon's Avatar
Senior Member
Thanks Meter 411
Posts: 721
Join Date: Dec 2010
Location: Solihull

 
DONATE TO ME
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 One [S-OFF][SuperCID] [ROM: Android Revolution HD [Latest]]
Phone: HTC Sensation [S-OFF] [SuperCID][ROM: CM 10.1 AOSP 4.2.2]
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 411
Posts: 721
Join Date: Dec 2010
Location: Solihull

 
DONATE TO ME
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 One [S-OFF][SuperCID] [ROM: Android Revolution HD [Latest]]
Phone: HTC Sensation [S-OFF] [SuperCID][ROM: CM 10.1 AOSP 4.2.2]
 
jerrylzy
Old
#6  
jerrylzy's Avatar
Senior Member
Thanks Meter 403
Posts: 1,659
Join Date: Aug 2010
Location: Los Angeles
Thanks..I'll try it later..

Phone | HTC One Developer Edition
PVS Bin | 4
ROM | 5.11.1540.9
Kernel | ElementalX-m7-14.8
Hotplug | mpdecision
Undervolt | Global 25mv, 384mhz 850mv
CPU Freq | min 384 max 1728 governor ondemand
GPU Freq | 400 governor ondemand
IO Scheduler | row
Radio | 4T.27.3218.14_10.33C.1718.01L
HBoot | 1.57.0000
 
pdagenius
Old
#7  
pdagenius's Avatar
Senior Member
Thanks Meter 26
Posts: 443
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 S4 I9505 [CyanogenMod 10 Rom]

Galaxy Note 10.1 GT-N8010
Useful info:
 
GuyAdams
Old
#8  
GuyAdams's Avatar
Senior Member
Thanks Meter 2228
Posts: 2,099
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 (M8)
ROM: Renovate Revision (who knows) by mwilky
Kernel: Stock
Recovery: TWRP 2.7.0.2

 
nickyg008
Old
#9  
Senior Member
Thanks Meter 57
Posts: 234
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 186
Posts: 1,118
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
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes