Stop backlight dimming - General Questions and Answers

Hi guys!
Is there any way to stop Windows Mobile from dimming and shutting off the display while my app is running?
My app is controlled via G-Sensor only, so there are no touch events. And after 30 sekonds the screen gets automatically dimmed to save energy. Can I do something against that?
BTW: I'm using WinMobile 6.1, C#, .NET 3.5 and OpenGL ES

VanKurt said:
Hi guys!
Is there any way to stop Windows Mobile from dimming and shutting off the display while my app is running?
My app is controlled via G-Sensor only, so there are no touch events. And after 30 sekonds the screen gets automatically dimmed to save energy. Can I do something against that?
BTW: I'm using WinMobile 6.1, C#, .NET 3.5 and OpenGL ES
Click to expand...
Click to collapse
You have gone into settings>system>power> advanced ......right ?

Yeah, sure. The setting itself isn't the problem
But turning down the brightness should only happen when the phone is idle. But when my app is running the brightness goes down as well!
So what I need is not changing the setting, but rather telling the phone to ignore it while my app is running. Do you know what I mean?

C'mon guys!
Is there NO way to disable screen-dimming/shut down while an application is running (programmatically)?

I have used a couple of apps which are g-sensor based, and I don't have this issue with them. Assuming that you also tried such apps, and don't have the issue; that must mean there is a way to tell the system which input are you interested in -- and to not consider the app idling while using such input.
Now how to do it.. dunno sorry

Try Lumos ... it handles Exceptions

Related

Timers in Sleep Mode

I have a windows mobile programming question:
I'm trying to write an application that will turn the phone to vibrate during a specific time of the day (when I'm at work). The problem I have is that when the phone goes to sleep my app apparently goes to sleep also. So my timer doesn't keep ticking to check if it is time to go to vibrate. Is there a way to keep my application running while the phone is in sleep mode so that the timer tick event is still called?
I would really appreciate any help, this is my first windows mobile app and don't know the intricacies of coding for windows mobile.
You may try the Unattended Mode...
http://blogs.msdn.com/windowsmobile/archive/2004/11/29/271991.aspx
like this?
http://forum.xda-developers.com/showthread.php?t=472878
imho, it's better to use the notification queue than have an application run in the background.
oldsap said:
like this?
http://forum.xda-developers.com/showthread.php?t=472878
imho, it's better to use the notification queue than have an application run in the background.
Click to expand...
Click to collapse
That's pretty much exactly what I'm doing. Though mine has a more graphical UI and is more touch friendly. I've finished everything except that when the phone falls asleep my timer event is not called to change the volume setting.
A_C said:
You may try the Unattended Mode...
http://blogs.msdn.com/windowsmobile/...29/271991.aspx
Click to expand...
Click to collapse
I'm a little confused by that article. Do I catch the event that the phone is falling asleep and then set it to unattended mode? Or is it that I would set it to unattended mode, and whenever the phone is supposed to fall asleep instead it goes to unattended mode?

Disable the motion sensor/accelerometer?

Is this possible to disable? I freaking hate it, it's annoying and a pointless feature of the phone.
Um don't use apps that use it? Lol?
Use Advanced Config? Diamond Tweak? EtC?
I can't find anything in the Advanced Config to disable it. But programs like opera if I tilt the phone a little it changes orientation when I don't want it to. And it' annoying.
disable acceleromoter in Opera
I would also like to know how to diable the accelerometer in Opera.
The acceleromoter works in Opera 9.5, didn't work in 9.65, and now it works with 9.7... and I also hate it.
A solution would be much appreciated. I am surprised no one has figured this out yet...
HKLM\Software\Opera\GSensor\IdleTime set to very large number. It is the time in milliseconds to wait after the phone changes orientation before it rotates the screen.
Better than increasing the idle time, which will still eventually rotate the screen, is to use an application like Gyrator 2 http://gyrator.brins0.net/ to limit auto-rotation to apps that you actually want to rotate. It works very well at giving you great control over what your motion sensors do.
mstevens said:
Better than increasing the idle time, which will still eventually rotate the screen, is to use an application like Gyrator 2 http://gyrator.brins0.net/ to limit auto-rotation to apps that you actually want to rotate. It works very well at giving you great control over what your motion sensors do.
Click to expand...
Click to collapse
If you set the idle time to an incredibly high number, it will for all purposes never rotate the screen. If you tilt it sideways then back to portrait, it will cancel the countup to the idle time. It won't later rotate the screen. It will only rotate the screen if it has been tilted for that amount of time.
Why install another program? Anyways, what other programs auto rotate other than opera?
I have been trying naptime forcedoze and greenify combinations for optimum doze settings. recently naptime updated the app into agressive doze mode. so its constantly seeks motion, resulting in high battery usage in deep doze sequences.
On the other hand, I couldn't achieve disabling motion sensing in any of those app for my non-root device. I am now using greenify and forcedoze. It is optimal but about motion sensing.
You can manualy interfere with doze constants by adb commands, but PhenotypeConfigurator peridocally resets all doze constant parameters.
So i have no solution atm. Any advice for non-root devices motion sensing issue would be deeply appreciated...

Display switches off after 10 seconds

Hi,
my display switches off after 10 seconds, no matter what options I make in the power settings.
The bug only occurs in the battery mode. When the mobile is charging, the display remains enlighted.
Any ideas how to reset/edit the battery/display settings of the htc polaris without hard resetting the whole PPC? (I would like to avoid a hard-reset because I have a lot of software on it. And I think the problem will reoccur if I restore the data with an backup tool.)
Perhaps there is a file which can be edited manually in the operating system?
Thank you,
Christian
If you have much software installed, it might be the case that a product overrides
the settings in Windows Mobile and enforces its own powersettings.
Example: S2U2 can manage display on/off/darken settings on its own.
Maybe you have such application installed.
Still not working.
Thank you for your help.
But hats obviously not the solution. I uninstalled some apps and went through the setting of EVERY app that is running. No way to change anything.
Once again: Is there a system-file one can edit?
I have exactly the same issue with my Touch Cruise, its not related to power settings 'cos I've got backlight to switch off at 1 minute and off at 2 minutes on battery power. There are no applications running in the background.

backlight control through clock?

hi there, i've been searching for a while but I can't seem to find anything for what i'm searching. Is there any app/hidden setting in wm6 that allows me to change the backlight based on the current phone's time on battery power?
what i'm trying to say is:
suppose it's 14:00 and you want your backlight to be at full brightness and at 22:00 the backlight should be at its minimum brightness. you simply would go to the app and program the times of the day and the brightness you want and the the app would change stick to the schedule
my phone: HTC Touch Cruise (P3650) (polaris)
if there's such an app (free or not) please say
guess there is no app for this...
anyone?
at least one app
e.g. SPB Phone Suite can do. there you can set time based profiles and adjust the backlight
mc_joe said:
guess there is no app for this...
anyone?
Click to expand...
Click to collapse
the easy way: try phonealarm (my favourite by far) or totalcommander.
the hard way: you can also program it with mortscript.
i have posted a profile module where you can get ideas on how to combine mortscript with a command line tool.

An app to disable the automatic turno off of the screen?

Hello everybody, I know that perhaps I'm asking a [email protected]@t but, well, I try...I'd like to know if it exists an app for my HD2 that allow to override the global settings for the turn off of the screen. I explain: I want that when the phone is non connected to PC or power source the screen turns off after 1 minute so I've setted in this way the global settings, but I'd like that when a specific program is running (for example PocketPlayer) the illumination of the screen turns off but not the screen itself. Of course after the mentioned app closes the global settings start tu rules again ... Am I really ask too much or does it exist something like that?
Thanks and regards
Andrea
I think for your request you could use the Proximity Sensor for Screen Off http://forum.xda-developers.com/showthread.php?t=624206.
I use it, and when I have it connected to ActiveSync and I put my hand to the proximity sensor (next to the light sensor). The screen goes black, but ActiveSync remains running, so the device does not go in standby mode. I think that is what you need?
webpatrick said:
I think for your request you could use the Proximity Sensor for Screen Off http://forum.xda-developers.com/showthread.php?t=624206.
I use it, and when I have it connected to ActiveSync and I put my hand to the proximity sensor (next to the light sensor). The screen goes black, but ActiveSync remains running, so the device does not go in standby mode. I think that is what you need?
Click to expand...
Click to collapse
well, not actualy, I reliaze I have explained the question in a terrible way o ). What I need is an app that allows the luminosity of the screen to go off regulary but that doesn't make the screen turn off when some other specific applications are running.
But thanks for the information about Proxinity Sensor, it will become useful for me for another "thing"
Regards
Andrea
I'm also looking for something similar, for example when i use iGo8 navigation the screen will turn off if I have not touched the screen for a while (most likely I've overlooked something in the settings though :$)
I think I have exactly what are you looking for.
As long as 'Screen Alive' runs, it overrides system settings and as the name says screen is always on.
When you close 'Screen Alive' then system settings are coming back.
I have it working perfect on my Touch HD.
jolas said:
I think I have exactly what are you looking for.
As long as 'Screen Alive' runs, it overrides system settings and as the name says screen is always on.
When you close 'Screen Alive' then system settings are coming back.
I have it working perfect on my Touch HD.
Click to expand...
Click to collapse
Or you could use an app called dont sleep. its on here somewhere, just do a search for it.
Cheers
Ian
jolas said:
I think I have exactly what are you looking for.
As long as 'Screen Alive' runs, it overrides system settings and as the name says screen is always on.
When you close 'Screen Alive' then system settings are coming back.
I have it working perfect on my Touch HD.
Click to expand...
Click to collapse
Thank you, I'll give it a try!
Andrea

Categories

Resources