Micromax Takes OnePlus to Court! Android Wear Receives Lollipop – XDA TV

Android 5.0 Lollipop is available officially for the Moto 360! … more

Google Invites Selected Devs to Buy Project Tango Development Kit

Just about a month ago, the curious Project Tango development kit was … more

YU Yureka: Indian Handset with CyanogenMod

Thesoap opera involving Cyanogen Inc., OnePlus, and Micromax is one of the most talked about … more

Chainfire Turns Your Bootanimation into a Logging Center

Having a nice boot animation certainly adds a little bit of aesthetic polish to your … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Tweaked brightness settings - battery saving and readable (edit through CM settings)

OP Rufus

23rd June 2014, 01:09 PM   |  #1  
OP Junior Member
Flag Brisbane
Thanks Meter: 20
19 posts
Join Date:Joined: Nov 2011
I've come up with some great (I think so..) brightness settings for the Razr M. I worked on this to make sure of battery savings while remaining comfortably readable under any light conditions. So here they are if you are interested in having a go:

0 lux - 4% screen brightness
2 lux - 4%
3 lux - 6%
7 lux - 8%
22 lux - 10%
63 lux - 14%
180 lux - 22%
511 lux - 31%
1447 lux - 43%
4095 lux - 57%
11585 lux - 74%
32768 to infinity - 95%

You have to edit them in manually through CM settings, attached is the smooth graph of the outcome (from CM itself):

One thing that has annoyed me on any phone I've had is the auto brightness settings, so I did a bit a research into how the human eye perceives light increase, and its based roughly on log(lux), increasing screen brightness by ^2.5 each step. Result is that I wrote an excel sheet (also attached) with some cool maths where you can adjust some variables to tailor an auto-brightness curve to your taste.

I made a few assumptions specific to the Razr M for the above settings:
- It has a minimum light reading of 2 lux even in the darkest of darks (my defy did the same thing - might be a motorola thing)
- The lux reading is approximately accurate (my galaxy note 8 and Razr M give VERY similar readings under the same light sources)
- I topped the lux reading out at 32k (it does read up to 65k) because its around the starting value of direct sunlight, and it also happens to be a nice round number

Just thought I'd share because I think I nailed the auto brightness settings on this device.

Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-06-22-09-47-33.png
Views:	230
Size:	56.4 KB
ID:	2813289  
Attached Files
File Type: xlsx Screen Brightness Calc.xlsx - [Click for QR Code] (14.5 KB, 30 views)
The Following 7 Users Say Thank You to Rufus For This Useful Post: [ View ]
23rd June 2014, 04:26 PM   |  #2  
Thanks Meter: 6
43 posts
Join Date:Joined: Apr 2013
How did you get that many step points? I only see 0, 15, 100, 3000 and 8000-infinity.

I am running CM11.2 (4.4.3).

---------- Post added at 10:26 AM ---------- Previous post was at 10:14 AM ----------

Nevermind. Found it by long pressing a segment and choosing "split". Not real intuitive but it works.
23rd June 2014, 11:11 PM   |  #3  
OP Junior Member
Flag Brisbane
Thanks Meter: 20
19 posts
Join Date:Joined: Nov 2011
Yeah you have to add in a few extra points with my setup. You could probably skip say every second point and it would work almost as well. But the built in brightness points ramped up to quickly for my liking - far brighter then necessary.
25th June 2014, 10:50 PM   |  #4  
Thanks Meter: 4
35 posts
Join Date:Joined: Oct 2007
Where exactly do you go to in CM to modify these settings? I can't find them...
25th June 2014, 11:16 PM   |  #5  
FirePsych's Avatar
Senior Member
Flag Roswell, GA
Thanks Meter: 111
537 posts
Join Date:Joined: Apr 2012
Display&Lights -- Brightness -- click on the settings icon next to the slider
29th June 2014, 09:26 AM   |  #6  
OP Junior Member
Flag Brisbane
Thanks Meter: 20
19 posts
Join Date:Joined: Nov 2011
I didn't mention in the first post, but the excel sheet is very customisable...

If you want to lower brightness there are several ways:
1. lower the maximum brightness
2. Increase the curve value (this affects the middle range of the curve mostly)
3. Increase the maximum lux value

Or if you want to increase brightness, just do the opposite of the points above. You know you have good settings when it looks the same always (ie doesn't suddently appear dim or bright). I think my default value are pretty close. I spent some time fine tuning, but like anything, there is always room for improvement

I also did this calculator so I didn't have to run another app in the background to control auto brightness.. save on a few MB of ram anyway.
The Following User Says Thank You to Rufus For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes