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!
One thing I've found irritating is that the Vibrant has at least two brightness settings. The systems setting allows you to select "auto brightness" BUT
The browser has its own brightness controls and does have an "auto brightness" setting that I can find?!
The screen is so bright you need two settings for it.
Why is this annoying? Use a different browser.
I agree. I see no need to have a separate setting for the browser. One system brightness setting would suffice...
Is that part of the "Power saving mode" (two below the "Brightness" setting)?
That option says "Save power by analyzing image and adjusting LCD brightness". Maybe the browser isn't playing nice with that function.
For the record... Mine is checked and I see the brightness increase on the browser too. I am not in a position to test it at the moment.
"power saving mode" on or off I can independently adjust system and browser brightness.
Pneumatic said:
Is that part of the "Power saving mode" (two below the "Brightness" setting)?
That option says "Save power by analyzing image and adjusting LCD brightness". Maybe the browser isn't playing nice with that function.
For the record... Mine is checked and I see the brightness increase on the browser too. I am not in a position to test it at the moment.
Click to expand...
Click to collapse
There is another brightness setting under the browser opt ins when you load the browser itself
so we got 3 brightness settings
Sadly yes lol
Sent from my SGH-T959 using XDA App
4. Don't forget the tmobile app does some kind of auto brightness too iirc.
Sent from my Vibrant using xda app
The browser has a setting because a majority of websites are white, this is the opposite of most of the phone's Apps, so it makes sense that the browser would be different. If your phone has brightness up and you are reading a website at night, odds are you don't want the bright white light blinding you.
Sent from my SGH-T959 using XDA App
BigWorldJust said:
The screen is so bright you need two settings for it.
Click to expand...
Click to collapse
I know this is an old post, but damn! I've been laughing my A$# off for 15 minutes straight after reading that! And it was the first anwser! You are a genius
Whenever i open he camera app my tab dims the backlight witch is really annoying, when I'm outside it's impossible to see.... Anyone else experience this? Any solution other than manually setting the backlight to no auto...?
Sent from my GT-P1000 using XDA App
2token2 said:
Whenever i open he camera app my tab dims the backlight witch is really annoying, when I'm outside it's impossible to see.... Anyone else experience this? Any solution other than manually setting the backlight to no auto...?
Sent from my GT-P1000 using XDA App
Click to expand...
Click to collapse
ok, untick auto dim in pull down notification and set the desire brightness you wants(camera screen brightness follows this setting, it will not follow auto brightness), once you done setting it, tick the auto again so brightness is back to auto other than camera brightness.
Ahh.. Thank You.... that works for me. Excellent!
Sent from my GT-P1000 using XDA App
I realise this is a late reply... but I generally find my finger goes over the light sensor when I hold the device in landscape mode, which is annoying. The camera uses auto-brightness fine for me - until I go and look at the picture. It was turning the brightness right down. Unticking "Auto", changing it up, and re-ticking "Auto" fixed it for me. (Why I would want to change the brightness to a setting I've decided I don't want to use is anyone's guess.)
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.
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