• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Power notification widget custom brightness?

ahoogst

Well-Known Member
Is there a way to specify custom brightness levels instead of using the preset options included (Auto/Dim/25%/etc.)? The reason I ask is because the 25% preset is actually 40% on my TB. For now I'm using Notification Toggle to change brightness from within the notification menu. You can also use it confirm that the power control 25% is actually 40%.
 
Depending on which ROM you're running there's a way to manually adjust the auto brightness levels. CM7 and LT7B (shocker ;)) have these options
 
Depending on which ROM you're running there's a way to manually adjust the auto brightness levels. CM7 and LT7B (shocker ;)) have these options

Ah interesting, although all the options seem a bit confusing with the light level numbers. I'm specifically talking about the presets for the power notification widgets under widget buttons. I'd rather not tinker around with auto brightness and control it manually.

After some more googling/XDA searches I found this: xda-developers - View Single Post - [App] Power Control Widgets Settings Application
The values need to be hard coded in :(.
 
What I was saying is if you were using one of those ROMs you could manually adjust the auto brightness to your desired level, then use the auto brightness level in the power control widgets. You'd only have to "tinker" with it once to get your desired level. Know what I mean?
 
I didn't think about that but I just played with it and it's pretty easy to do. The auto backlight table (for rc1.5.2 found under CyanogenMod settings, Display, Automatic backlight, Edit other levels...) can seem daunting at first but it's pretty straight forward to edit after you look into it a little.

If you want to lock the auto backlight settings to only one brightness, I think the easiest way is to scroll to the bottom of the table and hit the "Set number of levels" button and change that to 2. That way you'll only have 2 light sensor levels to adjust which makes tinkering a lot easier.

Then from there, you just have to change the number boxes listed under the "Screen" column. That number is determined from a range of 20-255. If you wanted 100% backlighting, the level you would enter is 255. 50% is 128 (rounded up, whole numbers only), 15% (which I like to use at work) would be 39 (again rounded up since I didn't like 38). Then just hit save & apply, turn on auto brightness and you're done.

If you want to read more about how the table works in detail, I'd point you at:
Numerical explanation of the CM7 automatic backlight settings - xda-developers
 
Ahh thanks for the idea WormDoes and slimjoe for the explanation! This is why I love Android and its community :).

Edit: Yup works perfectly. Strange thing is one of the preset options with 25% is true 25% but the others all actually 40% XD.
 
Back
Top Bottom