So as everyone knows our brilliant screen and auto brightness eat batteries like candy. Many people, understandably, disable auto brightness to conserve battery life. I haven't gone that far yet as I do use my phone in many different environments and enjoy the dynamic brightness. With that said auto brightness does set the brightness unnecessarily high.
Would it be possible to adjust auto brightness so that it still functions but sets brightness 10-20% (or a user specified value) lower than normally?
I'm not sure this would save as much battery as statically setting the brightness (is it the "auto" adjustment that drains battery or the brightness it sets it at?) but I'm sure it would be better than stock auto brightness.
You cannot do this from stock rom to my knowledge, but I'm sure there is a custom rom that will allow you to do this. You might have to search around a bit though.
I wrote an app that allows you to set custom auto brightness behaviour. You can check out the free version here.
Cyb3rGlitch said:
I wrote an app that allows you to set custom auto brightness behaviour. You can check out the free version here.
Click to expand...
Click to collapse
Cool, question: will this actually reduce battery usage or possibly cause more by enabling so many extra features?
If you're willing to rebuild android from source you could try changing device/samsung/tuna/overlay/frameworks/base/core/res/res/values/config.xml to have a more subtle brightness adjustment.
Or maybe running yet another app is easier in the meantime... But maybe someone who builds custom roms might want to hack at it...
The juice defender app has a schedule for brightness i believe, So it will come on automatic during the times frames you set..good luck
textshell said:
If you're willing to rebuild android from source you could try changing device/samsung/tuna/overlay/frameworks/base/core/res/res/values/config.xml to have a more subtle brightness adjustment.
Or maybe running yet another app is easier in the meantime... But maybe someone who builds custom roms might want to hack at it...
Click to expand...
Click to collapse
Ah thanks that's what I was looking for. You can't mod this file directly without rebuilding from source? Would be cool to be able to apply this to any ROM.
Sent from my Galaxy Nexus using XDA App
wish777 said:
The juice defender app has a schedule for brightness i believe, So it will come on automatic during the times frames you set..good luck
Click to expand...
Click to collapse
Thanks, not exactly what I was looking for though. It has to be more dynamic than a hard schedule.
Sent from my Galaxy Nexus using XDA App
Editing default auto brightness levels was a Cyanogen 7 feature. If it hasn't yet been added into CM9, it'll eventually get there.
Sent from my Galaxy Nexus using Tapatalk
phishie said:
Ah thanks that's what I was looking for. You can't mod this file directly without rebuilding from source? Would be cool to be able to apply this to any ROM.
Click to expand...
Click to collapse
Seems this thread has figured out a lot more about this http://forum.xda-developers.com/showthread.php?t=1377410
I don't know how easy it is to patch the existing apk. Seems possible.
Cyb3rGlitch said:
I wrote an app that allows you to set custom auto brightness behaviour. You can check out the free version here.
Click to expand...
Click to collapse
Sounds good, unfortunately useless in free version and I have no card to buy payed one
pesho00 said:
Sounds good, unfortunately useless in free version and I have no card to buy payed one
Click to expand...
Click to collapse
Why is it useless? I have been playing with it since yesterday and really like it, much better than system auto brightness. I don't really feel it's missing anything it the free version though I'm pretty sure I'll buy it just to support the developer. Very nice app.
pascanu said:
Why is it useless? I have been playing with it since yesterday and really like it, much better than system auto brightness. I don't really feel it's missing anything it the free version though I'm pretty sure I'll buy it just to support the developer. Very nice app.
Click to expand...
Click to collapse
Same here, it is a very nice app! I love how I can customize the brightness to match my environment and needs.
In my case, I selected "auto brightness inly on wake" in Lux Auto Brightness and it is draining battery. I paid for it but I am going to uninstall it.
Please Vito, let us know how to improve battery with Lux configurations. Thaks
While I can't provide any input on Lux, I also wrote an custom auto brightness application which can be found on Market here.
The market version isn't really good on Gnex though, you may just contact me and I'll send you the last dev version, it is now alright. I myself have a GNex and now it's alright. It would take me about 2 weeks till I'll be able to update Market version, most likely - there are enough things to add.
Related
The screen auto brightness has always bothered me. I love the convenience of using it but it simply doesn't work like I believe it should.
For example. At night while laying in bed in a completely dark room I'd expect the screen to dim to it's lowest setting. When in actuality it does not, and it always seems to bright. On the other hand when I'm outside in direct sunlight I'd like for the brightness to be at 100%. Again this doesn't appear to be the case.
So what's the issue here? Is there a dev out there who has found a better solution?
I agree with you on this one. The automatic brightness on the EVO is just silly. Its lowest is 25%, by the way. There should be a way to choose what you want the minimum/maximum brightness to be :\
I've seen this question before, some time ago, but still no solution. I've seen someone say use total screen control trial (free in market) and tweak the filter settings to essentially do the dimming value you want.
blakeboys said:
I've seen this question before, some time ago, but still no solution. I've seen someone say use total screen control trial (free in market) and tweak the filter settings to essentially do the dimming value you want.
Click to expand...
Click to collapse
I have been searching and searching for an answer to this. I don't want to have to use third party programs if I could just change the thresholds myself.
In Calkulins rom he says he lowered the maximum auto brightness to save on battery, and this question has been asked there, with no answer (except for the usual "just use this program to do it").
Someone has to know where the settings for this are. I'm getting more advanced at dealing with apk's, jars, etc... But I haven't been able to find which one controls this. Build.prop has some brightness settings in it, but it's just the default setting when not using auto-brightness (I think).
Anybody ?!?!?!?!?!?!?!?!?
I know it's possible, because Cyanogenmod has the option to tweak the levels in CM Settings.
I just know I've seen an app here on xda, but don't remember what it was.
plainjane said:
I know it's possible, because Cyanogenmod has the option to tweak the levels in CM Settings.
I just know I've seen an app here on xda, but don't remember what it was.
Click to expand...
Click to collapse
I know it must be here too but but searching comes up with nothing new. I've tried autobrightness, auto-brightness, with min and max levels, thresholds, custom settings and every other search I could think of.
Maybe I'm leaving out the one keyword that would finnd it... lol
http://forum.xda-developers.com/showthread.php?t=901540 he had some settings for it he might be able to help
Sent from my unrEVOked using xda app
roscoenr said:
http://forum.xda-developers.com/showthread.php?t=901540 he had some settings for it he might be able to help
Sent from my unrEVOked using xda app
Click to expand...
Click to collapse
Thanks for looking, but unfortunately I've been there already. It basically allows you to toggle between auto brightness and a variety of static levels, but doesn't affect the min and max of auto brightness when you are in that mode.
I'm trying to be able to leave the phone in auto brightness mode all the time and just have the screen get to it's max available brightness when I'm in a bright area, and minimum available brightness in a dark area.
fgr said:
I know it must be here too but but searching comes up with nothing new. I've tried autobrightness, auto-brightness, with min and max levels, thresholds, custom settings and every other search I could think of.
Maybe I'm leaving out the one keyword that would finnd it... lol
Click to expand...
Click to collapse
I did a quick search too, but I couldn't come up with what I saw before. I remember thinking "neat, but I don't need that because it's built into the Rom". It's driving me nuts now too :/
You could always contact one of the devs from CM & find out what files need to be edited.
Basically it sucks. It actually drives to crazy so I just don't use it anymore. When I am on tapa I put the background to black so it's a bit easier on the eyes when I am laying in bed going through the forums before sleep
I have no clue how to use the Auto Brightness feature on CM10.1 because every time I look configurations, they use Lux or an older version of the CM autobrightness.
In CM10.1 the auto brightness is modified with a slider going from 0% to 100%. Does anybody know how this works or have the best settings for battery life and viewability?
"Best"
063_XOBX said:
"Best"
Click to expand...
Click to collapse
I am assuming there is something wrong with my request? Is there no such thing as best with this stuff?
Smokexz said:
Is there no such thing as best with this stuff?
Click to expand...
Click to collapse
You catch on faster than most.
063_XOBX said:
You catch on faster than most.
Click to expand...
Click to collapse
O.K. Now could you explain how modifying the auto brightness works? I have not a single clue how to make it better and I feel like if I modify anything without knowing everything that it will be the opposite result and screw me over
You've just for to experiment with the settings to your own eye. I can't really explain how to do that other than to use a "control" picture and experiment.
Screen Dimmer
The minimum screen brightness is too damn bright to use in the dark.
Run the app, click "Load" next to "n5dim", change your brightness to the minimum (and then up a bit and back down) and notice how much dimmer it is.
The brightness at all other levels stay the same.
Source: https://github.com/mzhou/n5dim
Fast Charge
This works by setting the registers on the bq24192 charger chip to allow as much input current (from USB/AC) as possible, as well as allowing as high a charge current as possible (to the battery).
From limited tests I've performed in the past, this actually isn't enough to get faster charging, so further investigation will be needed, though your testing will be much appreciated.
It will take effect on the first time you plug in after clicking "Load". If you're already plugged in, you need to unplug and replug for it to take effect.
Source: https://github.com/mzhou/n5charge
General
To use either of these, you need any kernel which supports modules (CONFIG_MODULES=y).
I've attached (modules_boot.img) a stock kernel with the config changed to support modules.
modules_441_boot.img is for 4.4.1, while modules_boot.img is for 4.4.0.
Does this dim further than setting '1' in /sys/devices/mdp.0/qcom,mdss_fb_primary.160/leds/lcd-backlight?
(Also I noticed your CSE email, a fellow UNSW student?)
Cyb3rGlitch said:
Does this dim further than setting '1' in /sys/devices/mdp.0/qcom,mdss_fb_primary.160/leds/lcd-backlight?
(Also I noticed your CSE email, a fellow UNSW student?)
Click to expand...
Click to collapse
Yes. Dragging the brightness slider to the minimum already sets 1 there.
There's values hard coded in the platform data to internally restrict the value to a minimum of 5 (but that's of little consequence).
The main gain is is from the "full scale current" (you can find an explanation in the datasheet for lm3630) which has been hard coded to 18 in the platform data. Bringing it down to 0 makes a huge difference.
(sup)
Nice work! I wonder why they limited it. Possibly to stop people putting their phone into an unusable state during the day?
Cyb3rGlitch said:
Nice work! I wonder why they limited it. Possibly to stop people putting their phone into an unusable state during the day?
Click to expand...
Click to collapse
I've done it to myself many times when I did this to my old phone.
Also updated the attachment in the OP to be compatible with more kernels.
Tested working on Franco.
Very cool! :good:
AWESOME! Is there maybe a mod like this for the NN7 (new nexus 7 )
Is there any advantage to this method over using an app like lux?
Sent from my Nexus 5 using XDA Premium 4 mobile app
adzjwarner said:
Is there any advantage to this method over using an app like lux?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
No app will be able to get the backlight this dark.
I'm not sure what Lux does, but if it modifies the colours to produce a darkening effect, then the contrast will be very bad.
adzjwarner said:
Is there any advantage to this method over using an app like lux?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Hey there, I'm actually the developer of Lux. The main purpose of Lux is to replace your auto brightness system without the need for root access. That being said, there's no reason why this neat kernel module couldn't be added to a root plugin for Lux.
Cyb3rGlitch said:
Hey there, I'm actually the developer of Lux. The main purpose of Lux is to replace your auto brightness system without the need for root access. That being said, there's no reason why this neat kernel module couldn't be added to a root plugin for Lux.
Click to expand...
Click to collapse
Ah cool.
I tried out Lux and I'm not sure if it's a limitation in the free version, but it only sets the backlight brightness (/sys/class/leds/lcd-backlight/brightness) to a minimum of 10 before it starts doing colour adjustment instead.
My module treats the value 1 as special for making the backlight super dark. Dragging Android's built in brightness slider uses the full range of values 1-225 inclusive.
There's no reason it couldn't just map the full 1-255 to a wider range, but I initially wanted to lean towards keeping things as stock as possible.
arararagi said:
Ah cool.
I tried out Lux and I'm not sure if it's a limitation in the free version, but it only sets the backlight brightness (/sys/class/leds/lcd-backlight/brightness) to a minimum of 10 before it starts doing colour adjustment instead.
My module treats the value 1 as special for making the backlight super dark. Dragging Android's built in brightness slider uses the full range of values 1-225 inclusive.
There's no reason it couldn't just map the full 1-255 to a wider range, but I initially wanted to lean towards keeping things as stock as possible.
Click to expand...
Click to collapse
It does that because some devices do silly things near 0 like putting the device to sleep. You can change the minimum brightness in settings to 1 which should fix this (although I suspect it might round 0.01*255 to 2. I'll have to check my codebase).
Cyb3rGlitch said:
It does that because some devices do silly things near 0 like putting the device to sleep. You can change the minimum brightness in settings to 1 which should fix this (although I suspect it might round 0.01*255 to 2. I'll have to check my codebase).
Click to expand...
Click to collapse
Somehow overlooked that when I was skimming the settings. (And it does round to 2 ).
I could make 2 or anything less than 5 special so that Lux users can benefit. Or maybe just make it configurable with a parameter at insmod time...
arararagi said:
Somehow overlooked that when I was skimming the settings. (And it does round to 2 ).
I could make 2 or anything less than 5 special so that Lux users can benefit. Or maybe just make it configurable with a parameter at insmod time...
Click to expand...
Click to collapse
Whatever you feel works best. A parameter sounds like the most flexible solution though.
This is exactly what I was looking for!
Could I get a bit more explanation of how to install this though? Do I flash the kernel in recovery and then run the command from a shell on my phone, or on my computer?
Thanks for making this.
Sent from my Nexus 5 using xda app-developers app
I'll be watching this thread intently. I currently use lux as well.
rockingondrums said:
I'll be watching this thread intently. I currently use lux as well.
Click to expand...
Click to collapse
Ditto!
Sent from my Nexus 5 using XDA Premium 4 mobile app
Nelsocracy said:
This is exactly what I was looking for!
Could I get a bit more explanation of how to install this though? Do I flash the kernel in recovery and then run the command from a shell on my phone, or on my computer?
Thanks for making this.
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
Flash the kernel in whatever normal way you choose.
Extract and copy n5din.ko to your phone.
Use root and put it in /data so that apps with SD card access can't mess with it.
Run "insmod /data/n5dim.ko" on your phone. This can be with a terminal emulator or adb or script manager.
I'm probably gonna be making more modules so I might make an app to simplify the process.
Cyb3rGlitch said:
Hey there, I'm actually the developer of Lux. The main purpose of Lux is to replace your auto brightness system without the need for root access. That being said, there's no reason why this neat kernel module couldn't be added to a root plugin for Lux.
Click to expand...
Click to collapse
OhHai! Big fan of the app, it's saved my eyes when internetting in bed for many many months now! (Though I probably should just not internet at night)
I'll leave the plugin stuff to somebody who knows how to do that and rejoice when(if) it happens. :good:
arararagi said:
Flash the kernel in whatever normal way you choose.
Extract and copy n5din.ko to your phone.
Use root and put it in /data so that apps with SD card access can't mess with it.
Run "insmod /data/n5dim.ko" on your phone. This can be with a terminal emulator or adb or script manager.
I'm probably gonna be making more modules so I might make an app to simplify the process.
Click to expand...
Click to collapse
That worked perfectly, thanks.
This is really dim! I'm impressed. If you ever decide to modify it like you mentioned earlier so that the full brightness adjustment was available I'd be interested. It would be useful to have access to all the brightness levels between yours and the ordinary minimum brightness.
Sent from my Nexus 5 using xda app-developers app
When I turn on auto brightness it goes almost completely dark. And it doesn't adjust, whatsoever, after. Any one experiencing the same issue? Is mine broke?
xRevilatioNx said:
When I turn on auto brightness it goes almost completely dark. And it doesn't adjust, whatsoever, after. Any one experiencing the same issue? Is mine broke?
Click to expand...
Click to collapse
I certainly don't have that problem. You don't somehow have the sensor covered right (not that I know where it is)? I would exchange it if not.
Where is the sensor?
xRevilatioNx said:
When I turn on auto brightness it goes almost completely dark. And it doesn't adjust, whatsoever, after. Any one experiencing the same issue? Is mine broke?
Click to expand...
Click to collapse
For free you could try Lux Lite which is an auto brightness replacement. At least you will know if the problem is hardware related.
See: https://play.google.com/store/apps/details?id=com.vitocassisi.luxlite
Sent from my Nexus 10 using XDA Premium HD app
My auto brightness is also exceptionally dim.
3DSammy said:
For free you could try Lux Lite which is an auto brightness replacement. At least you will know if the problem is hardware related.
See: https://play.google.com/store/apps/details?id=com.vitocassisi.luxlite
Sent from my Nexus 10 using XDA Premium HD app
Click to expand...
Click to collapse
That app is fantastic. That's the way my auto brightness should be working! So I guess I do have a hardware problem huh.
xRevilatioNx said:
That app is fantastic. That's the way my auto brightness should be working! So I guess I do have a hardware problem huh.
Click to expand...
Click to collapse
Not so sure you have a hardware problem as both the stock autobrightness and Lux Lite use the same sensor to determining when the brightness requires adjustments. So I'm not sure what's going on. Well at least you have an alternative while you figure out what is really going on.
I bought this from Amazon. How long do I have to return/exchange a tablet?
xRevilatioNx said:
I bought this from Amazon. How long do I have to return/exchange a tablet?
Click to expand...
Click to collapse
I believe they have a 30 day return policy.
Sent from my GT-P6810 using XDA Free mobile app
The auto brightness on the S tabs is useless. I think what happened is that they simply used the algorithm for brightness adjustment from the Galaxy phones but didn't adjust them to compensate for how dim the AMOLED panels on these new tablets go in comparison. Lux's adjustment actually works and I really like the app because it's one of the few that finally show you the actual brightness percentage.
Megalith said:
The auto brightness on the S tabs is useless. I think what happened is that they simply used the algorithm for brightness adjustment from the Galaxy phones but didn't adjust them to compensate for how dim the AMOLED panels on these new tablets go in comparison. Lux's adjustment actually works and I really like the app because it's one of the few that finally show you the actual brightness percentage.
Click to expand...
Click to collapse
After trying the free version I purchased the pro version. What I found is that I used two different profiles, the regular "Auto" (Day/Night) for indoors and "Cinema" for outdoors who's brightness is always higher the indoors. Swapping profiles is very easy. I even have a one brightness setting profile for watching videos with the lights off at night. So the pro version has been well worth it.
Sent from my Nexus 10 using XDA Premium HD app
Is it just meow or is the auto brightness different when power saving is enabled?
jboogie555 said:
Is it just meow or is the auto brightness different when power saving is enabled?
Click to expand...
Click to collapse
You are correct. That's how all of my Samsung devices work when enabled.
My auto brightness didn't even do anything. Didn't works since day one. When I turn it on.... it goes almost completely dark. It sucks.
I want to exchange it. But since I have 30 days with Amazon... I'm hoping the 32Ghz comes before I swap it.
Sm-t705, sm-t700
On the sm-t700 (WiFi) autobrightness works much better than on the sm-t705 (LTE-Version). I checked the hardware with CPU-Z and HW-Info apps.
The light sensor (type CM3323, Capella Microsystems) of the SM-t700 is rated max. 3000 Lux and the sensor of the t705 is rated up to 65000 Lux (type TMD3782 from AMS). I guess the algorithm or parameter settings are the same for both devices.... this might be why the prob is even worse on the 705.
!!! So if you respond to this thread always tell us which device you have !!!
- I am wondering if there is some kind of parameter file where the margins ... can be set (of course this would require root) ?
- I am anxious that an app like LUX would drain the battery more than the built in app ... what do you think ... ???
gggg said:
On the sm-t700 (WiFi) autobrightness works much better than on the sm-t705 (LTE-Version). I checked the hardware with CPU-Z and HW-Info apps.
The light sensor (type CM3323, Capella Microsystems) of the SM-t700 is rated max. 3000 Lux and the sensor of the t705 is rated up to 65000 Lux (type TMD3782 from AMS). I guess the algorithm or parameter settings are the same for both devices.... this might be why the prob is even worse on the 705.
!!! So if you respond to this thread always tell us which device you have !!!
- I am wondering if there is some kind of parameter file where the margins ... can be set (of course this would require root) ?
- I am anxious that an app like LUX would drain the battery more than the built in app ... what do you think ... ???
Click to expand...
Click to collapse
Drivers I'm sure are complied with kernel and parameters should be in source. Maybe also modification to ROM framework-res would also be needed. Remind me in a couple weeks time after I've updated the 8.4" kernel and released the 10.5" kernel. Maybe I'll have time to at least take a look.
Works just fine for mine.
Hi,
i want to disable Screen Brightness Machine Learning on my phone. It must be like Android 8.1
I mean the only thing Screen care for the Brightness must be Light Sensor. Because ML thing works like ***.
Is there any build.prop code or something like that? How can i do that?
Thanks.
perfect_ said:
Hi,
i want to disable Screen Brightness Machine Learning on my phone. It must be like Android 8.1
I mean the only thing Screen care for the Brightness must be Light Sensor. Because ML thing works like ***.
Is there any build.prop code or something like that? How can i do that?
Thanks.
Click to expand...
Click to collapse
On Adaptive brightness option, turn it off.
RFD80M-75679 said:
On Adaptive brightness option, turn it off.
Click to expand...
Click to collapse
You misunderstood me.
perfect_ said:
Hi,
i want to disable Screen Brightness Machine Learning on my phone. It must be like Android 8.1
Thanks.
Click to expand...
Click to collapse
You can either use the new Screen Brightness or turn if off completely.
Have you tried training it for a few days by adjusting the brightness to your needs?
For me, it works perfectly after the training phase.
There is no way a normal user can do it, on a locked device. I am sure there are ways with root there are ways to fix this. This was my biggest issue for a week when I got Android 9, and now 10 (since in 10 whatever was learned in pie, at least for me, was lost). After a week of teaching it how I want things to do, it just does it at it should.
Howdy2 said:
You can either use the new Screen Brightness or turn if off completely.
Have you tried training it for a few days by adjusting the brightness to your needs?
For me, it works perfectly after the training phase.
Click to expand...
Click to collapse
The point is ML doesnt obey my commands. Thats why i want to disable it.
It learns ok. but when it finishes his learning phase i cant control the Brightness manually.
For example:
ML increases Brightness to %100
but thats too much for me for that moment
so i am trying change it to %50 and then
ML immediatly increases Brightness to %100
I cant control the Brightness after the Learning phase. Its just so dumb.
I just want back my old but gold Light Sensor.
TeoXSD said:
There is no way a normal user can do it, on a locked device. I am sure there are ways with root there are ways to fix this. This was my biggest issue for a week when I got Android 9, and now 10 (since in 10 whatever was learned in pie, at least for me, was lost). After a week of teaching it how I want things to do, it just does it at it should.
Click to expand...
Click to collapse
There must be a way.
perfect_ said:
I cant control the Brightness after the Learning phase. Its just so dumb.
I just want back my old but gold Light Sensor.
Click to expand...
Click to collapse
What. Just adjust the slider dude... been using it since it was new and I can adjust the slider under the quick settings any time.
What do you mean by learning phase? It tells you, that leaning phase is over and it's not adjustable anymore or what? :laugh:
dSERiES said:
What. Just adjust the slider dude... been using it since it was new and I can adjust the slider under the quick settings any time.
What do you mean by learning phase? It tells you, that leaning phase is over and it's not adjustable anymore or what? :laugh:
Click to expand...
Click to collapse
Just watch this.
Stock Android 9 - March 2020 v10.0.20
perfect_ said:
Just watch this.
Stock Android 9 - March 2020 v10.0.20
Click to expand...
Click to collapse
Indeed, you are right, the old fashion system pre-9 was much better, and much more reliable. You set a point on the slider and the auto-brightness only modified slightly in that area. Until the auto-brightness post-9 learns it's a chore, and after that... teaching it new things, it's again a chore.
The whole process is related to the Device Health Services subsystem where you can reset the whole learning to factory default. Maybe from there, you can have some success, but from what I've googled, there is no way to do that on stock locked. Maybe there are xposed, or magisk modules that could take care of that.
perfect_ said:
Just watch this.
Stock Android 9 - March 2020 v10.0.20
Click to expand...
Click to collapse
Wow.. I have never seen that. Been using 9 since it came out, with the latest sec. patch every time. I've adjusted the brightness many times, but I've never seen this happen.
Is it the same if you drag it instead of tapping a new location for the knob?
Also, I have the complete Digital Wellbeing bs disabled for a long time now, maybe that's why I've never seen this? Might have to do something with it.