LED Notification fix while device on standby
#2
Posted 05 July 2008 - 01:55 PM
- Install screen lock/unlock utility S2U2
- Set S2U2 to:
+ Lock when backlight turns off
+ Power Off in XXs
+ Ensure "But Blank Screen only" is checked
- In WM Power settings/Advanced tab, configure the device to never switch off automatically
Your notification LED will carry on blinking for as long as you want. Downside will be a very small hit on battery life.
#3
Posted 08 July 2008 - 12:43 AM
After reading the SDK documentation and some of the online write up on power management in WM6, I realised it's because for pocketpc (i.e. WM6 Professional), the device would go into suspend mode after inactivity (timeout interval is based on the power setting in the control panel). This is different from smartphone (i.e. WM6 smartphone) which never goes into suspend mode.
When the device goes into suspend mode, all the programs get suspended until the power is resumed (e.g. user initiated a power button press, or the device wakes up automatically due to some phone network activities (e.g. gprs, sms, phone, etc))
That would explains why the LED light stop blinking, when the device goes into suspended mode. The only way to keep the LED light blinking, is to ensure the device does not go into suspended mode.
Without going to the details of how to achieve that, I'm sure S2U2 achieve this thus enabling to keep the LED light blinking.
However, not knowing how S2U2 works, I'm wary on the need to configure the device never to suspend automatically. If the S2U2 doesn't handle this well, and some program continues to run in the background, it could indeed drain up the battery quite a fair bit.
I am writing a small utility to keep the device from entering into suspended mode only during the LED notification period (which would be shortened once the message is read), The rest of the time, the device will be suspended by the OS automatically. So far it looks positive (the utility appears to be achieving what I want it to achieve). The best part is, I can choose the colour of the LED I want for notification (for i780, it's green, yellow, red and blue). Hopefully it turns out to be what I hope it to be :whistle:
#4
Posted 08 July 2008 - 12:02 PM
#5
Posted 08 July 2008 - 01:18 PM
zenkinz, on Jul 8 2008, 12:43 AM, said:
After reading the SDK documentation and some of the online write up on power management in WM6, I realised it's because for pocketpc (i.e. WM6 Professional), the device would go into suspend mode after inactivity (timeout interval is based on the power setting in the control panel). This is different from smartphone (i.e. WM6 smartphone) which never goes into suspend mode.
When the device goes into suspend mode, all the programs get suspended until the power is resumed (e.g. user initiated a power button press, or the device wakes up automatically due to some phone network activities (e.g. gprs, sms, phone, etc))
That would explains why the LED light stop blinking, when the device goes into suspended mode. The only way to keep the LED light blinking, is to ensure the device does not go into suspended mode.
Without going to the details of how to achieve that, I'm sure S2U2 achieve this thus enabling to keep the LED light blinking.
However, not knowing how S2U2 works, I'm wary on the need to configure the device never to suspend automatically. If the S2U2 doesn't handle this well, and some program continues to run in the background, it could indeed drain up the battery quite a fair bit.
I am writing a small utility to keep the device from entering into suspended mode only during the LED notification period (which would be shortened once the message is read), The rest of the time, the device will be suspended by the OS automatically. So far it looks positive (the utility appears to be achieving what I want it to achieve). The best part is, I can choose the colour of the LED I want for notification (for i780, it's green, yellow, red and blue). Hopefully it turns out to be what I hope it to be :whistle:
As I mentioned earlier, I'm not relying on S2U2 to prevent the device from going into standby (I've tried, it cannot). I've forced WM to not go into standby in the Power Settings. I'm using S2U2 only to blank and lock the screen. On my set of installed applications, the reduced battery life is unsubstantial.
In any case, it stands to reason that going into standby intermittenedly will affect the battery drain less than keeping it powered up full-time, so good luck with your application.
Once you're done with your application, sharing is caring.
#6
Posted 08 July 2008 - 01:35 PM
efini, on Jul 5 2008, 05:55 AM, said:
- Install screen lock/unlock utility S2U2
- Set S2U2 to:
+ Lock when backlight turns off
+ Power Off in XXs
+ Ensure "But Blank Screen only" is checked
- In WM Power settings/Advanced tab, configure the device to never switch off automatically
Your notification LED will carry on blinking for as long as you want. Downside will be a very small hit on battery life.
I just installed S2U2 on my diamond.
When my device is locked, i can access my device even when i press the home key. so basically, it is not ''locked''.
any idea how to disable all hardware buttons during locked up?
Device: HTC Desire, Operator: Singapore
ROM: Stock (Eclair 2.1)
Radio: dunno how to check
HTC Diamond--> Blackberry Bold 9700--> HTC Desire
(3 different OS in 1 yr)
*world is chaotic now.. nothing seems to be edible!!*
#7
Posted 08 July 2008 - 02:09 PM
zenkinz, on Jul 8 2008, 12:43 AM, said:
After reading the SDK documentation and some of the online write up on power management in WM6, I realised it's because for pocketpc (i.e. WM6 Professional), the device would go into suspend mode after inactivity (timeout interval is based on the power setting in the control panel). This is different from smartphone (i.e. WM6 smartphone) which never goes into suspend mode.
When the device goes into suspend mode, all the programs get suspended until the power is resumed (e.g. user initiated a power button press, or the device wakes up automatically due to some phone network activities (e.g. gprs, sms, phone, etc))
That would explains why the LED light stop blinking, when the device goes into suspended mode. The only way to keep the LED light blinking, is to ensure the device does not go into suspended mode.
Without going to the details of how to achieve that, I'm sure S2U2 achieve this thus enabling to keep the LED light blinking.
However, not knowing how S2U2 works, I'm wary on the need to configure the device never to suspend automatically. If the S2U2 doesn't handle this well, and some program continues to run in the background, it could indeed drain up the battery quite a fair bit.
I am writing a small utility to keep the device from entering into suspended mode only during the LED notification period (which would be shortened once the message is read), The rest of the time, the device will be suspended by the OS automatically. So far it looks positive (the utility appears to be achieving what I want it to achieve). The best part is, I can choose the colour of the LED I want for notification (for i780, it's green, yellow, red and blue). Hopefully it turns out to be what I hope it to be :whistle:
Hi bro zenkinz,
I am glad to note that there is hope to solve the LED issue on our lovely i780... and I will be looking forward to your kind contribution .... You are now our "hope" to make i780 on par with other ppc devices where the LED notification is concerned... Thanks in advance once again....
#8
Posted 08 July 2008 - 02:35 PM
efini, on Jul 8 2008, 01:18 PM, said:
In any case, it stands to reason that going into standby intermittenedly will affect the battery drain less than keeping it powered up full-time, so good luck with your application.
Once you're done with your application, sharing is caring.
I see, my bad for wronlgy interpreting your post.
You are right that if the device goes into suspend mode and then wake up frequently, it'll end up consuming more battery power than if it goes into an 'unattended' mode (i.e. system doesn't suspend, but screen is totally off), of course assuming same context in both cases (i.e. no other running programs, etc)
However, w/o getting the device into 'unattended' mode, there's no way, other than OEM/hardware implementation, to keep the program running, in this case, the program to turn on the blinking LED.
Even when the device is in 'unattended' mode, it may still end up in suspend mode if the system detects too long of 'idling'. So it's rather tricky to ensure the program continues to run within a defined period (and not unlimited) and after that, immediately hand over to the system to manage the suspend mode automatically.
I had the first alpha version ready for testing, but it's at this point only tracking the Palm Threaded SMS, and not the default Poutlook SMS (although in theory, it's easy to track both). Will observe more over the next few days before releasing for beta testing.
#9
Posted 08 July 2008 - 02:39 PM
vibranze, on Jul 8 2008, 12:02 PM, said:
nice program! I should have waited longer before I work on my utility :sowwy:
But I see a couple of possible gaps/issues, not sure if anybody who uses the tool can verify;
1. it seems that it won't run when the screen is off (at least the developer claims in the blog).
2. will not track my Palm Threaded message status (though I can ask the developer to add this support :sneaky: )
3. vibrate/ring at interval rather than continuous LED blinking
#10
Posted 12 July 2008 - 01:38 AM
1. Currently the patch will keep the LED blinking for SMS notification only. Both Palm threading message application and default Pocket Outlook, are supported. Although the program is designed to support other 3 notifications, namely missed call, voice mail and email, they are currently disabled due to lack of testing.
2. Default duration that determines how long will the LED light keep blinking before it times out, is 60 minutes. If you want to extend or shorten the duration, you have to manage this in registry (sorry, no GUI at this moment!) Go to HKCU\Software\Zenyee\Notif Blinker and change the key value Duration to the desirable length, in minutes. Of course, if you happen to read or dismiss the new message notification before the time limit, the LED will stop blinking. Becareful of setting a long duration(e.g. 240 minutes), because it will affects the battery life somewhat. (not the program itself, but any malfunction program will take advantage of this 'unattended window' to eat up the battery juice)
3. You can personalise the colour of the LED to your liking, but this is device dependent. For Samsung i780, the colour index for the LED is as follow; Green (1), Blue (2), Red (3), Yellow (5). The index should be updated in the registry HKCU\Software\Zenyee\Notif Blinker\LED Color. Take note that if you choose yellow as the blinking LED colour, it will not show up if your device is connected to a power source.
You can download from this link
This post has been edited by zenkinz: 12 July 2008 - 01:38 AM

Sign In
Register
Help



MultiQuote

