[Nexus 5 Q&A, Help & Troubleshooting] alray:
Here is a logcat when the phone start to make the "click" sound and is turning on/off:

W/KeyguardServiceWrapper( 748): android.os.DeadObjectException
W/KeyguardServiceWrapper( 748): at android.os.BinderProxy.transactNative
(Native Method)
W/KeyguardServiceWrapper( 748): at android.os.BinderProxy.transact(Binde
r.java:496)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.IKeyguard
Service$Stub$Proxy.isSecure(IKeyguardService.java:271)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.keyg
uard.KeyguardServiceWrapper.isSecure(KeyguardServiceWrapper.java:54)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.keyg
uard.KeyguardServiceDelegate.isSecure(KeyguardServiceDelegate.java:197)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.Phon
eWindowManager.isKeyguardSecure(PhoneWindowManager.java:4935)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.Phon
eWindowManager.applyPostLayoutPolicyLw(PhoneWindowManager.java:3803)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.performLayoutAndPlaceSurfacesLockedInner(WindowManagerService.java:9584)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.performLayoutAndPlaceSurfacesLockedLoop(WindowManagerService.java:8662)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.performLayoutAndPlaceSurfacesLocked(WindowManagerService.java:8604)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.removeWindowLocked(WindowManagerService.java:2627)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowState$Dea
thRecipient.binderDied(WindowState.java:1116)
W/KeyguardServiceWrapper( 748): at android.os.BinderProxy.sendDeathNotic
e(Binder.java:551)
W/KeyguardServiceWrapper( 748): Remote Exception
W/KeyguardServiceWrapper( 748): android.os.DeadObjectException
W/KeyguardServiceWrapper( 748): at android.os.BinderProxy.transactNative
(Native Method)
W/KeyguardServiceWrapper( 748): at android.os.BinderProxy.transact(Binde
r.java:496)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.IKeyguard
Service$Stub$Proxy.isSecure(IKeyguardService.java:271)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.keyg
uard.KeyguardServiceWrapper.isSecure(KeyguardServiceWrapper.java:54)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.keyg
uard.KeyguardServiceDelegate.isSecure(KeyguardServiceDelegate.java:197)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.Phon
eWindowManager.isKeyguardSecure(PhoneWindowManager.java:4935)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.Phon
eWindowManager.applyPostLayoutPolicyLw(PhoneWindowManager.java:3803)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.performLayoutAndPlaceSurfacesLockedInner(WindowManagerService.java:9584)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.performLayoutAndPlaceSurfacesLockedLoop(WindowManagerService.java:8662)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.performLayoutAndPlaceSurfacesLocked(WindowManagerService.java:8604)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.removeWindowLocked(WindowManagerService.java:2627)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowState$Dea
thRecipient.binderDied(WindowState.java:1116)
W/KeyguardServiceWrapper( 748): at android.os.BinderProxy.sendDeathNotic
e(Binder.java:551)
W/KeyguardServiceWrapper( 748): Remote Exception
W/KeyguardServiceWrapper( 748): android.os.DeadObjectException
W/KeyguardServiceWrapper( 748): at android.os.BinderProxy.transactNative
(Native Method)
W/KeyguardServiceWrapper( 748): at android.os.BinderProxy.transact(Binde
r.java:496)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.IKeyguard
Service$Stub$Proxy.isSecure(IKeyguardService.java:271)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.keyg
uard.KeyguardServiceWrapper.isSecure(KeyguardServiceWrapper.java:54)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.keyg
uard.KeyguardServiceDelegate.isSecure(KeyguardServiceDelegate.java:197)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.Phon
eWindowManager.isKeyguardSecure(PhoneWindowManager.java:4935)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.Phon
eWindowManager.applyPostLayoutPolicyLw(PhoneWindowManager.java:3803)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.performLayoutAndPlaceSurfacesLockedInner(WindowManagerService.java:9584)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.performLayoutAndPlaceSurfacesLockedLoop(WindowManagerService.java:8662)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.performLayoutAndPlaceSurfacesLocked(WindowManagerService.java:8604)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.removeWindowLocked(WindowManagerService.java:2627)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowState$Dea
thRecipient.binderDied(WindowState.java:1116)
W/KeyguardServiceWrapper( 748): at android.os.BinderProxy.sendDeathNotic
e(Binder.java:551)
W/KeyguardServiceWrapper( 748): Remote Exception
W/KeyguardServiceWrapper( 748): android.os.DeadObjectException
W/KeyguardServiceWrapper( 748): at android.os.BinderProxy.transactNative
(Native Method)
W/KeyguardServiceWrapper( 748): at android.os.BinderProxy.transact(Binde
r.java:496)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.IKeyguard
Service$Stub$Proxy.isSecure(IKeyguardService.java:271)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.keyg
uard.KeyguardServiceWrapper.isSecure(KeyguardServiceWrapper.java:54)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.keyg
uard.KeyguardServiceDelegate.isSecure(KeyguardServiceDelegate.java:197)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.Phon
eWindowManager.isKeyguardSecure(PhoneWindowManager.java:4935)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.Phon
eWindowManager.applyPostLayoutPolicyLw(PhoneWindowManager.java:3803)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.performLayoutAndPlaceSurfacesLockedInner(WindowManagerService.java:9584)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.performLayoutAndPlaceSurfacesLockedLoop(WindowManagerService.java:8662)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.performLayoutAndPlaceSurfacesLocked(WindowManagerService.java:8604)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.removeWindowLocked(WindowManagerService.java:2627)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowState$Dea
thRecipient.binderDied(WindowState.java:1116)
W/KeyguardServiceWrapper( 748): at android.os.BinderProxy.sendDeathNotic
e(Binder.java:551)
W/KeyguardServiceWrapper( 748): Remote Exception
W/KeyguardServiceWrapper( 748): android.os.DeadObjectException
W/KeyguardServiceWrapper( 748): at android.os.BinderProxy.transactNative
(Native Method)
W/KeyguardServiceWrapper( 748): at android.os.BinderProxy.transact(Binde
r.java:496)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.IKeyguard
Service$Stub$Proxy.isSecure(IKeyguardService.java:271)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.keyg
uard.KeyguardServiceWrapper.isSecure(KeyguardServiceWrapper.java:54)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.keyg
uard.KeyguardServiceDelegate.isSecure(KeyguardServiceDelegate.java:197)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.Phon
eWindowManager.isKeyguardSecure(PhoneWindowManager.java:4935)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.Phon
eWindowManager.applyPostLayoutPolicyLw(PhoneWindowManager.java:3803)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.performLayoutAndPlaceSurfacesLockedInner(WindowManagerService.java:9584)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.performLayoutAndPlaceSurfacesLockedLoop(WindowManagerService.java:8662)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.performLayoutAndPlaceSurfacesLocked(WindowManagerService.java:8604)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.relayoutWindow(WindowManagerService.java:3229)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.Session.relayou
t(Session.java:196)
W/KeyguardServiceWrapper( 748): at android.view.IWindowSession$Stub.onTr
ansact(IWindowSession.java:237)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.Session.onTrans
act(Session.java:130)
W/KeyguardServiceWrapper( 748): at android.os.Binder.execTransact(Binder
.java:446)
W/KeyguardServiceWrapper( 748): Remote Exception
W/KeyguardServiceWrapper( 748): android.os.DeadObjectException
W/KeyguardServiceWrapper( 748): at android.os.BinderProxy.transactNative
(Native Method)
W/KeyguardServiceWrapper( 748): at android.os.BinderProxy.transact(Binde
r.java:496)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.IKeyguard
Service$Stub$Proxy.isSecure(IKeyguardService.java:271)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.keyg
uard.KeyguardServiceWrapper.isSecure(KeyguardServiceWrapper.java:54)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.keyg
uard.KeyguardServiceDelegate.isSecure(KeyguardServiceDelegate.java:197)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.Phon
eWindowManager.isKeyguardSecure(PhoneWindowManager.java:4935)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.Phon
eWindowManager.applyPostLayoutPolicyLw(PhoneWindowManager.java:3803)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.performLayoutAndPlaceSurfacesLockedInner(WindowManagerService.java:9584)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.performLayoutAndPlaceSurfacesLockedLoop(WindowManagerService.java:8662)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.performLayoutAndPlaceSurfacesLocked(WindowManagerService.java:8604)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.relayoutWindow(WindowManagerService.java:3229)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.Session.relayou
t(Session.java:196)
W/KeyguardServiceWrapper( 748): at android.view.IWindowSession$Stub.onTr
ansact(IWindowSession.java:237)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.Session.onTrans
act(Session.java:130)
W/KeyguardServiceWrapper( 748): at android.os.Binder.execTransact(Binder
.java:446)
W/KeyguardServiceWrapper( 748): Remote Exception
W/KeyguardServiceWrapper( 748): android.os.DeadObjectException
W/KeyguardServiceWrapper( 748): at android.os.BinderProxy.transactNative
(Native Method)
W/KeyguardServiceWrapper( 748): at android.os.BinderProxy.transact(Binde
r.java:496)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.IKeyguard
Service$Stub$Proxy.isSecure(IKeyguardService.java:271)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.keyg
uard.KeyguardServiceWrapper.isSecure(KeyguardServiceWrapper.java:54)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.keyg
uard.KeyguardServiceDelegate.isSecure(KeyguardServiceDelegate.java:197)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.Phon
eWindowManager.isKeyguardSecure(PhoneWindowManager.java:4935)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.Phon
eWindowManager.applyPostLayoutPolicyLw(PhoneWindowManager.java:3803)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.performLayoutAndPlaceSurfacesLockedInner(WindowManagerService.java:9584)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.performLayoutAndPlaceSurfacesLockedLoop(WindowManagerService.java:8662)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.performLayoutAndPlaceSurfacesLocked(WindowManagerService.java:8604)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.relayoutWindow(WindowManagerService.java:3229)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.Session.relayou
t(Session.java:196)
W/KeyguardServiceWrapper( 748): at android.view.IWindowSession$Stub.onTr
ansact(IWindowSession.java:237)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.Session.onTrans
act(Session.java:130)
W/KeyguardServiceWrapper( 748): at android.os.Binder.execTransact(Binder
.java:446)
W/KeyguardServiceWrapper( 748): Remote Exception
W/KeyguardServiceWrapper( 748): android.os.DeadObjectException
W/KeyguardServiceWrapper( 748): at android.os.BinderProxy.transactNative
(Native Method)
W/KeyguardServiceWrapper( 748): at android.os.BinderProxy.transact(Binde
r.java:496)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.IKeyguard
Service$Stub$Proxy.isSecure(IKeyguardService.java:271)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.keyg
uard.KeyguardServiceWrapper.isSecure(KeyguardServiceWrapper.java:54)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.keyg
uard.KeyguardServiceDelegate.isSecure(KeyguardServiceDelegate.java:197)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.Phon
eWindowManager.isKeyguardSecure(PhoneWindowManager.java:4935)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.Phon
eWindowManager.applyPostLayoutPolicyLw(PhoneWindowManager.java:3803)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.performLayoutAndPlaceSurfacesLockedInner(WindowManagerService.java:9584)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.performLayoutAndPlaceSurfacesLockedLoop(WindowManagerService.java:8662)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.performLayoutAndPlaceSurfacesLocked(WindowManagerService.java:8604)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.relayoutWindow(WindowManagerService.java:3229)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.Session.relayou
t(Session.java:196)
W/KeyguardServiceWrapper( 748): at android.view.IWindowSession$Stub.onTr
ansact(IWindowSession.java:237)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.Session.onTrans
act(Session.java:130)
W/KeyguardServiceWrapper( 748): at android.os.Binder.execTransact(Binder
.java:446)
W/KeyguardServiceWrapper( 748): Remote Exception
W/KeyguardServiceWrapper( 748): android.os.DeadObjectException
W/KeyguardServiceWrapper( 748): at android.os.BinderProxy.transactNative
(Native Method)
W/KeyguardServiceWrapper( 748): at android.os.BinderProxy.transact(Binde
r.java:496)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.IKeyguard
Service$Stub$Proxy.isSecure(IKeyguardService.java:271)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.keyg
uard.KeyguardServiceWrapper.isSecure(KeyguardServiceWrapper.java:54)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.keyg
uard.KeyguardServiceDelegate.isSecure(KeyguardServiceDelegate.java:197)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.Phon
eWindowManager.isKeyguardSecure(PhoneWindowManager.java:4935)
W/KeyguardServiceWrapper( 748): at com.android.internal.policy.impl.Phon
eWindowManager.applyPostLayoutPolicyLw(PhoneWindowManager.java:3803)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.performLayoutAndPlaceSurfacesLockedInner(WindowManagerService.java:9584)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.performLayoutAndPlaceSurfacesLockedLoop(WindowManagerService.java:8662)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.performLayoutAndPlaceSurfacesLocked(WindowManagerService.java:8604)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.WindowManagerSe
rvice.relayoutWindow(WindowManagerService.java:3229)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.Session.relayou
t(Session.java:196)
W/KeyguardServiceWrapper( 748): at android.view.IWindowSession$Stub.onTr
ansact(IWindowSession.java:237)
W/KeyguardServiceWrapper( 748): at com.android.server.wm.Session.onTrans
act(Session.java:130)
W/KeyguardServiceWrapper( 748): at android.os.Binder.execTransact(Binder
.java:446)
I/ActivityManager( 748): Start proc com.android.systemui for restart com.androi
d.systemui: pid=12410 uid=10012 gids={50012, 9997, 1028, 1015, 1035, 3002, 3001,
3006} abi=armeabi-v7a
V/KeyguardServiceDelegate( 748): *** Keyguard disconnected (boo!)
V/SystemUIService(12410): Starting SystemUI services.
D/TrustManagerService( 748): Removing dead TrustListener.
V/FingerprintService( 748): startListening(android.service.fingerprint.IFingerp
rintServiceReceiver$Stub$Proxy@3025037f)
D/NuPlayerDriver( 183): start(0xb5a29ca0)
I/GenericSource( 183): start
D/NuPlayerDriver( 183): reset(0xb5a29ca0)
D/NuPlayerDriver( 183): notifyResetComplete(0xb5a29ca0)
D/NuPlayerDriver( 183): start(0xb490d940)
I/GenericSource( 183): start
D/NuPlayerDriver( 183): reset(0xb490d940)
D/NuPlayerDriver( 183): notifyResetComplete(0xb490d940)
D/VolumeUI(12410): Registering volume controller
D/NuPlayerDriver( 183): start(0xb2f052e0)
I/GenericSource( 183): start
V/KeyguardServiceDelegate( 748): *** Keyguard connected (yay!)
D/NuPlayerDriver( 183): reset(0xb2f052e0)
D/NuPlayerDriver( 183): notifyResetComplete(0xb2f052e0)
I/art (12410): Background sticky concurrent mark sweep GC freed 32(1352B) Al
locSpace objects, 0(0B) LOS objects, 0% free, 50MB/50MB, paused 6.299ms total 9.
725ms
I/Adreno-EGL(12410): <qeglDrvAPI_eglInitialize:410>: QUALCOMM Build: 10/24/14, 1
67c270, I68fa98814b