Hello. I got a problem with my sound notifications not being sent while the screen is off and the device is unplugged from the charger.
Here is the workflow: - Alarm Service gets fired every 30 seconds (well the timer can be adjusted) - The alarm starts a service which fires a sound and vibrate notification - The service holds a PARTIAL_WAKE_LOCK acquired in onCreate and released in onDestroy Here is the result of the whole thing: - Both notifications get fired as long as the screen is on - Both notifications get fired as long as the device is plugged into the charger (via USB) even when the screen is off (done by pressing the power button) - BUT only the vibrate notification gets fired when the screen is off (user pressed the power button once) - When pressing the power button once again and the screen is on again the notifications are back to normal behaviour and both get fired Could someone tell me why the sound notification ignores the wake lock and sits down in silence? From the logs I can say that the service runs normally and gets from onCreate to onDestroy pretty fine. I have tested this behaviour on a default Nexus One. Could someone help me or got a solution for this problem? Thank you very much. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

