Automatic backlight adjustment - Windows Mobile Development and Hacking General

I will soon release a application that will adjust the backlight brightness,
depending on the sunrise/sunset at a specific location.
This utility is most useful especially when the device is mounted in the car
for navigation, handsfree etc.
When its getting dark, the brightness is automatically decreasing gradually,
and increasing when its getting lighter.
this will enhance the security wile driving, because you will not be
distracted by the bright backlight, and you don't have to fiddle with the
backlight adjustments while driving!
The application will be available in English and Swedish languages.
The application have so far been tested on Compaq iPaq 3870, 3970, 5450 and Qtek 2020.
I am interested in getting suggestions and comments for this application!
Here a short description and screenshots of the settings for the application:
General
==========
Activate adjustment of backlight when program starts
Activated
Even set on battery power
When checked backlight will be adjusted on both battery and external power
Lowest Backlight Setting
The highest and lowest numbers for the backlight adjustments varies for
different device models.
Adjust the backlight to the lowest setting possible (without turning
backlight off) and click the Get button.
Highest Backlight setting
The highest possible setting for the backlight brightness.
Adjust the backlight to the highestsetting possible and click the
Get button.
Day
===========
Adjust the slider to the highest desired brightness.
Sunrise Offset
Sets the backlight at the brightest setting in minutes offset from the sunrise
time (the time is shown below the setting according to the current sunrise time).
Keep Setting
Determines how long the brightest setting will be kept in minutes after the above
setting (the setting the time is shown below the setting according to the current
sunrise time).
Night
===========
Adjust the slider to the lowest desired brightness.
Sunset Offset
Sets the backlight at the lowest setting in minutes offset from the sunset time
(the time is shown below the setting according to the current sunset time).
Keep Setting
Determines how long the lowest setting will be kept in minutes after the above
setting (the setting the time is shown below the setting according to the
current sunset time).
Location
===============
Lat
Latitude in degrees, minutes and seconds
Long
Longitude in degrees, minutes and seconds
Sunrise / Sunset
Displays the current sunrise and sunset times according to the Latitude / longitude
setting.

does it have expections for when there is a full eclips?
just kidding
usefull program

Rudegar said:
does it have expections for when there is a full eclips?
just kidding
usefull program
Click to expand...
Click to collapse
:lol:
Yes this is a nice idea . Don't know if it is catered for, but I guess a quick 'Return to default' option with a simple tap would be a good thing (by default, I mean the settings in place as set up by the user in backlight settings).

Rudegar said:
does it have expections for when there is a full eclips?
just kidding
usefull program
Click to expand...
Click to collapse
Hmm, didn't thought about that :lol:
But it does have expections for when there is no sunrise or sunset!
if Northern hemisphere and spring or summer, or if Southern hemisphere and fall or winter, the previous sunrise and next sunset will be used.
if Northern hemisphere and fall or winter, or if Southern hemisphere and spring or summer, the next sunrise and previous sunset will be used.
The Sunrise/Sunset calculations are based on the calculations used by the National Oceanic and Atmospheric Administration Surface Radiation
http://www.srrb.noaa.gov/highlights/sunrise/sunrise.html

dcs said:
Rudegar said:
does it have expections for when there is a full eclips?
just kidding
usefull program
Click to expand...
Click to collapse
:lol:
Yes this is a nice idea . Don't know if it is catered for, but I guess a quick 'Return to default' option with a simple tap would be a good thing (by default, I mean the settings in place as set up by the user in backlight settings).
Click to expand...
Click to collapse
Thanks for you comments!
The application adjusts the backlight brightness by setting the brightness value in the registry, and then raise a BackLightChangeEvent event.
So it's done in the same matter as the settings-backlight. The default settings will be gone as soon as the application starts to adjust the brightness...
One way to set it back to the brightest or lowest setting is to deselect the Activated checkbox and click the Proof button on either the Day or Night settings tabs.
OR I could put a Set Button next to the Get button on the General tab!

GeirFrimann said:
Thanks for you comments!
The application adjusts the backlight brightness by setting the brightness value in the registry, and then raise a BackLightChangeEvent event.
So it's done in the same matter as the settings-backlight. The default settings will be gone as soon as the application starts to adjust the brightness...
One way to set it back to the brightest or lowest setting is to deselect the Activated checkbox and click the Proof button on either the Day or Night settings tabs.
OR I could put a Set Button next to the Get button on the General tab!
Click to expand...
Click to collapse
What I mean is for there to be a method of setting the brightness levels back to the values that a user would have set in the standard settings for backlight, before they even installed your application. For example, I have mine set to low brighness on battery and about half brightness when cradled. When indoors, the sunrise/sunset times are irrelevant and I wouldnt want to keep setting the backlight back to my preferred settings everytime I turned off your feature. In summary, I would like to define the settings to be applied if your feature is disabled/turned off etc.
I hope this makes sense

dcs said:
What I mean is for there to be a method of setting the brightness levels back to the values that a user would have set in the standard settings for backlight, before they even installed your application. For example, I have mine set to low brighness on battery and about half brightness when cradled. When indoors, the sunrise/sunset times are irrelevant and I wouldnt want to keep setting the backlight back to my preferred settings everytime I turned off your feature. In summary, I would like to define the settings to be applied if your feature is disabled/turned off etc.
I hope this makes sense
Click to expand...
Click to collapse
I agree with dcs, you may need to quickly switch on/off the time settings independently from the real time for indoor use.
IMHO

dcs said:
What I mean is for there to be a method of setting the brightness levels back to the values that a user would have set in the standard settings for backlight, before they even installed your application. For example, I have mine set to low brighness on battery and about half brightness when cradled. When indoors, the sunrise/sunset times are irrelevant and I wouldnt want to keep setting the backlight back to my preferred settings everytime I turned off your feature. In summary, I would like to define the settings to be applied if your feature is disabled/turned off etc.
I hope this makes sense
Click to expand...
Click to collapse
I agree with dcs, you may need to quickly switch on/off the time settings independently from the real time for indoor use.
IMHO

dcs said:
GeirFrimann said:
Thanks for you comments!
The application adjusts the backlight brightness by setting the brightness value in the registry, and then raise a BackLightChangeEvent event.
So it's done in the same matter as the settings-backlight. The default settings will be gone as soon as the application starts to adjust the brightness...
One way to set it back to the brightest or lowest setting is to deselect the Activated checkbox and click the Proof button on either the Day or Night settings tabs.
OR I could put a Set Button next to the Get button on the General tab!
Click to expand...
Click to collapse
What I mean is for there to be a method of setting the brightness levels back to the values that a user would have set in the standard settings for backlight, before they even installed your application. For example, I have mine set to low brighness on battery and about half brightness when cradled. When indoors, the sunrise/sunset times are irrelevant and I wouldnt want to keep setting the backlight back to my preferred settings everytime I turned off your feature. In summary, I would like to define the settings to be applied if your feature is disabled/turned off etc.
I hope this makes sense
Click to expand...
Click to collapse
I got it..
I will add a couple of up/down numeric boxes for backlight values for AC and battery.
This settings will be set when the Activated checkbox is cleared.
Does that sound OK?

GeirFrimann said:
...I got it..
I will add a couple of up/down numeric boxes for backlight values for AC and battery.
This settings will be set when the Activated checkbox is cleared.
Does that sound OK?
Click to expand...
Click to collapse
Sounds OK to me. If there was a Today plugin with it, it could also provide a toggle to the activated state with a single tap.

dcs said:
GeirFrimann said:
...I got it..
I will add a couple of up/down numeric boxes for backlight values for AC and battery.
This settings will be set when the Activated checkbox is cleared.
Does that sound OK?
Click to expand...
Click to collapse
Sounds OK to me. If there was a Today plugin with it, it could also provide a toggle to the activated state with a single tap.
Click to expand...
Click to collapse
unfortunately I haven't done any Today plugin programming, not even sure it possible with VS.NET. I'll look in to it.
The application runs in the background, acessible from the tray menu on the Today screen.

GeirFrimann said:
unfortunately I haven't done any Today plugin programming, not even sure it possible with VS.NET. I'll look in to it.
The application runs in the background, acessible from the tray menu on the Today screen.
Click to expand...
Click to collapse
Today plug-ins can be written with Compact Framework VB or C# - see here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/TodayScrn.asp
However, in the absence of a today item, I think a tray icon is good.

dcs said:
GeirFrimann said:
unfortunately I haven't done any Today plugin programming, not even sure it possible with VS.NET. I'll look in to it.
The application runs in the background, acessible from the tray menu on the Today screen.
Click to expand...
Click to collapse
Today plug-ins can be written with Compact Framework VB or C# - see here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/TodayScrn.asp
However, in the absence of a today item, I think a tray icon is good.
Click to expand...
Click to collapse
I downloaded the code, but I don't have eVC to compile the source code

GeirFrimann said:
I downloaded the code, but I don't have eVC to compile the source code
Click to expand...
Click to collapse
Visual Studio .NET will build C# or VB as you must already know Embedded C++ 4.0 can be downloaded from Microsoft free of charge. It is a little tricky to install but allows you to write embedded C++. You also need to download the platform SDKs.

"BackLightChangeEvent" ???
Hi,
how do you change the backlight settings on the XDA II?
I want my app to keep the backlight on. This app should be launched when I press a button, so I can enable the backlight when running tomtom on buzz WM2005.
I tried changing the registry and then setting the event named "BackLightChangeEvent". But this does not work.
Also I tried using the SetPowerRequirement but that also fails.
I tried this while not running tomtom, just to try to get my app to modify the backlight.
Can somebody please give me some pointers.
Ikkuh

http://forum.xda-developers.com/viewtopic.php?t=22660&start=0

sjubb said:
http://forum.xda-developers.com/viewtopic.php?t=22660&start=0
Click to expand...
Click to collapse
Thanks for the link.
Ikkuh

GeirFrimann said:
I will soon release a application that will adjust the backlight brightness,
depending on the sunrise/sunset at a specific location.
This utility is most useful especially when the device is mounted in the car
for navigation, handsfree etc.
When its getting dark, the brightness is automatically decreasing gradually,
and increasing when its getting lighter.
this will enhance the security wile driving, because you will not be
distracted by the bright backlight, and you don't have to fiddle with the
backlight adjustments while driving!
The application will be available in English and Swedish languages.
The application have so far been tested on Compaq iPaq 3870, 3970, 5450 and Qtek 2020.
I am interested in getting suggestions and comments for this application!
Here a short description and screenshots of the settings for the application:
General
==========
Activate adjustment of backlight when program starts
Activated
Even set on battery power
When checked backlight will be adjusted on both battery and external power
Lowest Backlight Setting
The highest and lowest numbers for the backlight adjustments varies for
different device models.
Adjust the backlight to the lowest setting possible (without turning
backlight off) and click the Get button.
Highest Backlight setting
The highest possible setting for the backlight brightness.
Adjust the backlight to the highestsetting possible and click the
Get button.
Day
===========
Adjust the slider to the highest desired brightness.
Sunrise Offset
Sets the backlight at the brightest setting in minutes offset from the sunrise
time (the time is shown below the setting according to the current sunrise time).
Keep Setting
Determines how long the brightest setting will be kept in minutes after the above
setting (the setting the time is shown below the setting according to the current
sunrise time).
Night
===========
Adjust the slider to the lowest desired brightness.
Sunset Offset
Sets the backlight at the lowest setting in minutes offset from the sunset time
(the time is shown below the setting according to the current sunset time).
Keep Setting
Determines how long the lowest setting will be kept in minutes after the above
setting (the setting the time is shown below the setting according to the
current sunset time).
Location
===============
Lat
Latitude in degrees, minutes and seconds
Long
Longitude in degrees, minutes and seconds
Sunrise / Sunset
Displays the current sunrise and sunset times according to the Latitude / longitude
setting.
Click to expand...
Click to collapse

Hi,
i saw this post starts with nov 18, 2004 and then jumps to jun 04, 2005.
Does this means it was running for so long or was it just a date
set wrong?
If it is that long, is the software already available?

Dodger said:
Hi,
i saw this post starts with nov 18, 2004 and then jumps to jun 04, 2005.
Does this means it was running for so long or was it just a date
set wrong?
If it is that long, is the software already available?
Click to expand...
Click to collapse
Any day now, have been QUITE busy on other projects :?
Hopefully I'll be able to finish it within the next couple of weeks.
I'll post a message here when it's ready to download!

Related

Backlight - How to Keep it "ON" without Dimming

Could someone help and let me know how can i keep the Backlight ON continueously when i'm on Battery or External Power, for some reason i can get the PPC to stay on but the backlight "Dimms" after about 2 minutes. Do i need a special program?? (I have SPB Pocket Plus 4 installed but it doesn't help).
Start - Settings - System - Backlight - External power -> Uncheck "turn off backlight if device is not used for"
Radashka said:
Start - Settings - System - Backlight - External power -> Uncheck "turn off backlight if device is not used for"
Click to expand...
Click to collapse
Thanks, but off-course this is what i tried first, be aware that this keeps the PPC ON but after a few minutes the Backlight is "Dimmed".
If you have more ideas i'd love to hear them.
ausi said:
Thanks, but off-course this is what i tried first, be aware that this keeps the PPC ON but after a few minutes the Backlight is "Dimmed".
If you have more ideas i'd love to hear them.
Click to expand...
Click to collapse
erm... did you actually try it?
There's 2 menus: Power and Backlight.
If you go to the Power page, yes, light will dim while ppc stays on
But if you change it in the backlight page, the light will not dim at all.
chunga168 said:
erm... did you actually try it?
There's 2 menus: Power and Backlight.
If you go to the Power page, yes, light will dim while ppc stays on
But if you change it in the backlight page, the light will not dim at all.
Click to expand...
Click to collapse
Yes i tried it, but on my Backlight control page the ONLY thing you can do is change the BRIGHTNESS of the Backlight (for both Battery & Extenal Power),
there is no other control possibility there.
ausi said:
Yes i tried it, but on my Backlight control page the ONLY thing you can do is change the BRIGHTNESS of the Backlight (for both Battery & Extenal Power),
there is no other control possibility there.
Click to expand...
Click to collapse
There is another tab at the bottom of that page which says 'Battery Power' click this and then you can alter the setting for allowing the backlight to stay on.
The FD said:
There is another tab at the bottom of that page which says 'Battery Power' click this and then you can alter the setting for allowing the backlight to stay on.
Click to expand...
Click to collapse
Unfortunatly my DoPod-810D WM5 doesn't have such a Tab, so i'm looking for a small program that controls the Backlight Dimmer?
You could edit the registry with the following
Change the keyboard backlight duration
To change the duration of the keyboard backlight, you can set (example is 30 seconds):
HKCU\ControlPanel\Backlight\QKeyLedTimeout = 30 (DWORD decimal)
Please note that this may not work on some devices. One such notable exception is the HTC Wizard.
The FD said:
You could edit the registry with the following
Change the keyboard backlight duration
To change the duration of the keyboard backlight, you can set (example is 30 seconds):
HKCU\ControlPanel\Backlight\QKeyLedTimeout = 30 (DWORD decimal)
Please note that this may not work on some devices. One such notable exception is the HTC Wizard.
Click to expand...
Click to collapse
Thanks but even if it worked on my Device this would make it "permanent", what i need is something i can control in the Settings menu.

My Solution to Help Stop Screen Freezes (Tasker app)

Since a lot of people suggest disabling the g-sensor to prevent the screen freezes I thought I'd try something.
I don't want to have my rotation disabled as it's very handy to have. So what I do is use an app called Tasker. It's not free, but there is a 7-day trial available.
Basically I have it set to disable screen rotation every time the screen is off..and so far I haven't had any screen freezes. It may be coincidence, it may not be. I'm not exactly sure if the app does disable the g-sensor or does something else, but so far so good.
For those that don't know about Tasker...it's probably the best app that will ever be made for Android. You can make your phone do almost anything.
For example, I use it to:
When I get home, Wifi turns on and 3G is turned off. When I leave home, Wifi turns off and 3G turns on....same for work.
I have it disable wifi, 3g and screen rotation at night when I'm in bed.
It enables GPS when I launch maps or navigation, and disables GPS when I close the app.
And those are very basic ones...
The Tasker wiki has many more advanced "profiles" you can use:
Code:
Lock An Application
Start the Day with a Particular Application
Battery Full Alert
Launch Music App When Headset Inserted
Launch Menu of Music Apps When Headset Inserted
Keep screen awake when using the keyboard
Speaking Clock for Android 1.5
Control Keyguard (scroll to unlock) when Power is Connected/Disconnected
Keep Multiple Backups of Tasker Config
Change Ringtone on Every New Call
Mute in Meetings
Hold Ringer Volume Down
Auto-Respond To SMSs At Night
Change Volume Levels during Different Times of the Day
Check Data/SMS/Minute Usage With Carrier While Sleeping
Temporarily max brightness of screen during Incoming Call
Auto (Silent) Sleep Mode with Exceptions
Intermediate
Power Plug In - Choose Car/Home/Night Mode
Generic Toggle Widget
Open the keyboard and start texting
Set volume then Launch menu of music apps
Alarmclock without Snooze
Alarms with Snooze and Vibrate
Geburtstagserinnerung (German)
Car Locator
Notification Reminder Pulse
Locate your phone using SMS and google maps
Lock your phone and locate it by SMS and sound
A full talking clock
Act like a docking station when plugged into USB
Auto answer calls when your bluetooth headset is connected
Extended phone profile changer with Notification and Widget
Turn your cell phone into a Voip phone
Advanced
Periodic Data Check (Juicedefender Replacement)
Creates profiles similar to S60 devices and changes them depending on variety of factors
U.S. Navy Ships Bells (Using Tasker's OR '/' feature) * Pattern Matching *
Changing background image depending on current weather (Using HTTPGet)
Or you can simply create your own...there is a learning curve, but once you get a feel for it, it's VERY powerful! It can control almost every part of your Android phone.
There's a decent thread with more examples on xda in this thread.
I realise this is a software post, but it's main aim was to point out a way of disabling rotation to help with screen freezes
Hey,
thanks for this thread, i have downloaded tasker now.
Can you post your code for disabling gsensor when screen is off?
//EDIT: Sorry, its very easy.. i think i can create it by myself
HTC_HDD said:
Hey,
thanks for this thread, i have downloaded tasker now.
Can you post your code for disabling gsensor when screen is off?
//EDIT: Sorry, its very easy.. i think i can create it by myself
Click to expand...
Click to collapse
Hehe yep, it's an easy one.
New Event profile > Display off is the Event. Action is disable rotation
I have done it like you and added a task which enables the rotation if screen is on, is this correct?
I have used the phone now and i got freezes again, but not so much.. i think.
Sent from my HTC Desire using XDA App
HTC_HDD said:
I have done it like you and added a task which enables the rotation if screen is on, is this correct?
I have used the phone now and i got freezes again, but not so much.. i think.
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Yep, you also have to create another to say disable screen rotation when the screen is off.
@the_scotsman
Thanks for the suggestion, I've seen a few people mention this app before but now I finally downloaded it. I'll play around a bit to figure out some combos, but one quick question..
Is this going to be something running in the background sucking up battery and memory or is it just like running scripts? What do you think? I'll run current widget once I get some tasks going to see happens, just wondering if you've found anything out yet.
tgtoys said:
@the_scotsman
Thanks for the suggestion, I've seen a few people mention this app before but now I finally downloaded it. I'll play around a bit to figure out some combos, but one quick question..
Is this going to be something running in the background sucking up battery and memory or is it just like running scripts? What do you think? I'll run current widget once I get some tasks going to see happens, just wondering if you've found anything out yet.
Click to expand...
Click to collapse
It depends on what profiles you set up...if they involve wireless, it will enable wireless every so often to check access points etc....or if you are using a location profile, it will enable gps every so often to check your location. You can change how often everything polls in the settings.
I have mine as per the first post, so it does scan for wireless every so often, and I havent seen any change in battery usage.
the_scotsman said:
Yep, you also have to create another to say disable screen rotation when the screen is off.
Click to expand...
Click to collapse
Can you go step by step what you do to set up display off and rotation off?
Hi,
the last NetRipper Kernel has no freezes!!
Is not overclocked, is not undervolted, has no axi and has no freezes.
with friendly greet
starbase64
starbase64 said:
Hi,
the last NetRipper Kernel has no freezes!!
Is not overclocked, is not undervolted, has no axi and has no freezes.
with friendly greet
starbase64
Click to expand...
Click to collapse
Thanks, but i prefer to have axi and undervolt
And I have no freezes
the_scotsman said:
Hehe yep, it's an easy one.
New Event profile > Display off is the Event. Action is disable rotation
Click to expand...
Click to collapse
I can find everything else exept "disable rotation" in Actions. I only found "display rotation" in settings. Any help?
tzic said:
I can find everything else exept "disable rotation" in Actions. I only found "display rotation" in settings. Any help?
Click to expand...
Click to collapse
Yea, thats the one..just choose that one and set it to "off" in the settings for it
ty for the quick reply scotsman, I ll report back in a day or two.
Tried this, but didnt work
I tried many different versions of kernels but in all if I keep my phone on standby (screen off) for a long time, say 20 mins, my phone freezes, My hardware buttons still glow on press, but phone never wakes up, any Ideas??
Even you disable display rotation, the sensor is still active, just use Gscript and disable sensor, you won't get any more freeze.
justwonder said:
Even you disable display rotation, the sensor is still active, just use Gscript and disable sensor, you won't get any more freeze.
Click to expand...
Click to collapse
I was just about to write exactly the same words!
Scotsman - can you tell if Tasker can run a custom written script, upon some event? Then we can use it to turn off the gsensor!
Finally seems to be workin!!I made 2 changes:
1) Upgraded my radio from 2.08 to 2.12 (I recommend this one)
2) Stopped GSensor with Gscript
Another issue,
After I restart the sensor via script, photos in album wont rotate anymore!!
I did a `ps -ef|grep akmd` and the process is running, any thoughts??
edit: it works after restart!!
did you use the free gscript? cause mine says needs su:true
Your solution is great thanks... i did something slightly different : using tasker, autorotation is enabled only for apps that I want too, like gallery. Rest of the time, its off and working great that way too.

Controlling Android Softkeys Backlighting

Is there any app or any mod that can control the backlight given to the Android softkeys (home, menu, back, search)? I think there was one a little ways back, but several searches have found me nothing....
Also is there anyway to set them to a profile where say all day backlight would be forced off until say 12am then they turn on for a few hours? thanks!
There's one in the market called LEDs Hack. Works well, and requires root of course. As far as the second part, you might could set a profile in tasker to control it, not sure though.
http://market.android.com/details?id=com.deskangel.adjbrightness
LEDs Hack indeed works.
There's also Screen Filter
Both will integrate with Tasker (which would take care of your time-of-day needs, or any other context profiles)
For those running CM7, the backlights can also be controlled through the Auto-Brightness settings
Leds hack works, I've experienced some bugs renabling the lights, sometimes a reboot being necessary.
poontab said:
http://market.android.com/details?id=com.deskangel.adjbrightness
Click to expand...
Click to collapse
Any info on setting it up to keep the softkey lights off after turning the screen back on? Me Lazy
^Yes it can lock that.

Cm7 Light Sensor Levels (Small simple guide)

Please go to Settings -> CyanogenMod Settings -> Display -> Automatic Backlight -> Edit Other Levels...
Below is a screenshot of the settings I'm using. This is much easier on the eyes during the night, as I found the stock settings to be too bright. This also improves battery life.
Play around with the other settings in the previous window like Sample Interval ( 1 second) and screen dim level (1).
Like I said this is what has worked best for me. If it is too dark simply increase the numbers as needed.
If this was helpful don't forget to hit the Thanks button! Cheers!
g2tegg said:
Please go to Settings -> CyanogenMod Settings -> Display -> Automatic Backlight -> Edit Other Levels...
Below is a screenshot of the settings I'm using. This is much easier on the eyes during the night, as I found the stock settings to be too bright. This also improves battery life.
Play around with the other settings in the previous window like Sample Interval ( 1 second) and screen dim level (1).
Like I said this is what has worked best for me. If it is too dark simply increase the numbers as needed.
If this was helpful don't forget to hit the Thanks button! Cheers!
Click to expand...
Click to collapse
I like my screen about as dark as I can get it, before CM I used SuperDim to get my screen dark. I've had my screen dim level set to 6 ever since flashing CM, but never played with those setting cause I wasn't sure how to work them. I set mine exactly like yours. My question is do the "other levels" only kick in if you are using automatic brightness?
WiredPirate said:
I like my screen about as dark as I can get it, before CM I used SuperDim to get my screen dark. I've had my screen dim level set to 6 ever since flashing CM, but never played with those setting cause I wasn't sure how to work them. I set mine exactly like yours. My question is do the "other levels" only kick in if you are using automatic brightness?
Click to expand...
Click to collapse
My atrix has the automatic settings selected, then I customized the light levels under CM7. Seems to work smooth as well. That's what bothers me the most with the SG2. Half the time when i turn the screen on its dark for about 10 seconds (and in direct sunlight you can't see anything on the screen) before the phone realizes the light settings and adjusts.
Just play around with the settings. Hold your finger over the light sensor and watch the numbers drop.
Which version of CM are you running? On the most recent stable build Ba2Tf (IIRC) the top two in the second editable column can't be changed from their defalt 24/48 values...?
phobos512 said:
Which version of CM are you running? On the most recent stable build Ba2Tf (IIRC) the top two in the second editable column can't be changed from their defalt 24/48 values...?
Click to expand...
Click to collapse
You have to change the dim level to 1 before you can set those values that low.
I applied all the settings and my phone screen didnt changed a bit (i am already using lowest screen brightness from display settings) should i reboot or what ?
Edit: Rebooted and no change
Edit 2:Screen dim is working amazingly, all i want is to lower the actual screen brightness, that hurt my eyes when i wake up and start reading sms
Edit 3: just edit the settings and put ur phone to auto brightness, it should work. I was using my phone all the way lowest brightness 24-7 manualy.
P.s: thanks and thanks cm7.

How to increase brightness refresh rate

Using automatic brightness, i noticed there is a significant delay in when the device changes the screens brightness. So i am wondering if there is any possibility to increase the response time. When i standby my phone inside, and go outside, and wake my phone to check the time, i cant eve see my screen. In windows mobile, it would boost the brightness the second the screen turned on.
CM settings/display/automatic backlight/sample interval..
There are a whole other load of other settings if you select Use Custom light levels
shanman-2 said:
CM settings/display/automatic backlight/sample interval..
There are a whole other load of other settings if you select Use Custom light levels
Click to expand...
Click to collapse
Thanks but no thanks. That setting is only for if you apply a filter to the raw data coming in to reduce a flickering effect. It makes it refresh even more slowly then not having it on. I think it may be something kernel related. i remember in windows mobile you could set the polling level to any value you wished. It was a simple registry edit which had a value in milliseconds. Sometimes i think android is more a pain in the but when it comes to modifing it. -.-
elesbb said:
Thanks but no thanks. That setting is only for if you apply a filter to the raw data coming in to reduce a flickering effect. It makes it refresh even more slowly then not having it on. I think it may be something kernel related. i remember in windows mobile you could set the polling level to any value you wished. It was a simple registry edit which had a value in milliseconds. Sometimes i think android is more a pain in the but when it comes to modifing it. -.-
Click to expand...
Click to collapse
yea your probably right about windows but you got to mess about with the custom levels (edit other levels) to get it to work on whatever kernal you have, think I mentioned this before fikret kernel is good . I have had my phone brighten and dim for no reason... on some kernels(als)...
shanman-2 said:
yea your probably right about windows but you got to mess about with the custom levels (edit other levels) to get it to work on whatever kernal you have, think I mentioned this before fikret kernel is good . I have had my phone brighten and dim for no reason... on some kernels(als)...
Click to expand...
Click to collapse
Well I've abandoned trying to make the refresh rate higher, instead I'm gonna write a program that upon execution makes the screen at Max brightness the assign a gesture from the lock screen to said application
Sent from my HTC HD2 using Tapatalk

Categories

Resources