diff --git a/src/wp/PowerManagement.cs b/src/wp/PowerManagement.cs index 50f736f..2ca0cd0 100644 --- a/src/wp/PowerManagement.cs +++ b/src/wp/PowerManagement.cs @@ -32,6 +32,7 @@ namespace Cordova.Extension.Commands { public void acquire(string options) { PhoneApplicationService.Current.UserIdleDetectionMode = IdleDetectionMode.Disabled; + PhoneApplicationService.Current.ApplicationIdleDetectionMode = IdleDetectionMode.Disabled; DispatchCommandResult(); }