Hello all, we are developing application where we need to "wake up" the phone in as certain moment. We use the WakeLock system and it works for most of the phone models, but on Sony XPERIA the phone does not "wake up" unless the power cable is connected to a power source - when it's charging. Here is the code that we use: PowerManager pm = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); WakeLock wl = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "bbbb"); wl.acquire(1000+duration); We tried other variants like: PowerManager pm = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK|PowerManager.ACQUIRE_CAUSES_WAKEUP|PowerManager.FULL_WAKE_LOCK, "bbbb"); wl.acquire(1000+duration); But that didn-t work either. As I mentioned, this works fine on other phones like Samsung, HTC, Huawei etc. Can anybody point us out to the right direction? Could this be a bug on the phone, or we should add something more to the code? Are there any other resources-forums we could consult for advice? Many thanks to everybody, Katarina
-- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.