diff options
Diffstat (limited to 'services/java/com/android/server/PowerManagerService.java')
-rw-r--r-- | services/java/com/android/server/PowerManagerService.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/services/java/com/android/server/PowerManagerService.java b/services/java/com/android/server/PowerManagerService.java index 5ec1fa5683f0..5799f2b7beb1 100644 --- a/services/java/com/android/server/PowerManagerService.java +++ b/services/java/com/android/server/PowerManagerService.java @@ -2709,6 +2709,12 @@ public class PowerManagerService extends IPowerManager.Stub } private void goToSleepLocked(long time, int reason) { + if (mSpew) { + Exception ex = new Exception(); + ex.fillInStackTrace(); + Slog.d(TAG, "goToSleep mLastEventTime=" + mLastEventTime + " time=" + time + + " reason=" + reason, ex); + } if (mLastEventTime <= time) { mLastEventTime = time; |