[Nexus 5 General] Paradoxxx:
Anyone having systemUI crash when plugged in? It happens randomly, and I couldnt find a proper fix for it yet.

EDIT :

Yep : that issue :

It seems to be related to battery percentage for some reason. And happens after sometimes when you're plugged in via usb/charger.

And that's the logcat :

V/SystemUIService(20540): Starting SystemUI services.

I/am_create_service( 809): [0,276853775,.RecentsService,10020,20540]

D/VolumeUI(20540): Registering volume controller

D/PowerUI.Notification(20540): updateNotification mWarning=false mSaver=false mInvalidCharger=false

I/notification_cancel( 809): [10020,20540,com.android.systemui,100,low_battery,0,0,64,8,NULL]

D/PowerUI.Notification(20540): updateNotification mWarning=false mSaver=false mInvalidCharger=false

I/notification_cancel( 809): [10020,20540,com.android.systemui,100,low_battery,0,0,64,8,NULL]

V/KeyguardServiceDelegate( 809): *** Keyguard connected (yay!)

I/StatusBarManagerService( 809): registerStatusBar bar=com.android.internal.statusbar.IStatusBar$Stub$Proxy@d1df4cc

D/WifiService( 809): New client listening to asynchronous messages

D/BluetoothManagerService( 809): Message: 20

D/BluetoothManagerService( 809): Added callback: android.bluetooth.IBluetoothManagerCallback$Stub$Proxy@11f2d8e8:true

D/BluetoothAdapter(20540): 264754011: getState() : mService = null. Returning STATE_OFF

D/BluetoothAdapter(20540): 264754011: getState() : mService = null. Returning STATE_OFF

D/BluetoothAdapter(20540): 264754011: getState() : mService = null. Returning STATE_OFF

D/BluetoothAdapter(20540): 264754011: getState() : mService = null. Returning STATE_OFF

D/BluetoothAdapter(20540): 264754011: getState() : mService = null. Returning STATE_OFF

D/BluetoothAdapter(20540): 264754011: getState() : mService = null. Returning STATE_OFF

D/CanvasContext(20540): Render dirty regions requested: true

D/PhoneStatusBar(20540): disable: < EXPAND* icons alerts system_info BACK* HOME* RECENT* clock SEARCH* >

D/BluetoothAdapter(20540): 264754011: getState() : mService = null. Returning STATE_OFF

D/BluetoothAdapter(20540): 264754011: getState() : mService = null. Returning STATE_OFF

D/PhoneStatusBar(20540): heads up is enabled

I/PowerUI.Notification(20540): dismissing low battery warning: level=91

I/PowerUI.Notification(20540): dismissing low battery notification

D/PowerUI.Notification(20540): updateNotification mWarning=false mSaver=false mInvalidCharger=false

I/notification_cancel( 809): [10020,20540,com.android.systemui,100,low_battery,0,0,64,8,NULL]

D/AndroidRuntime(20540): Shutting down VM

E/AndroidRuntime(20540): FATAL EXCEPTION: main

E/AndroidRuntime(20540): Process: com.android.systemui, PID: 20540

E/AndroidRuntime(20540): java.util.IllegalFormatConversionException: %d can't format java.lang.String arguments

E/AndroidRuntime(20540):	at java.util.Formatter.badArgumentType(Formatter.java:1489)

E/AndroidRuntime(20540):	at java.util.Formatter.transformFromInteger(Formatter.java:1689)

E/AndroidRuntime(20540):	at java.util.Formatter.transform(Formatter.java:1461)

E/AndroidRuntime(20540):	at java.util.Formatter.doFormat(Formatter.java:1081)

E/AndroidRuntime(20540):	at java.util.Formatter.format(Formatter.java:1042)

E/AndroidRuntime(20540):	at java.util.Formatter.format(Formatter.java:1011)

E/AndroidRuntime(20540):	at java.lang.String.format(String.java:1959)

E/AndroidRuntime(20540):	at android.content.res.Resources.getString(Resources.java:383)

E/AndroidRuntime(20540):	at com.android.systemui.statusbar.KeyguardIndicationController.computePowerIndication(KeyguardIndicationController.java:151)

E/AndroidRuntime(20540):	at com.android.systemui.statusbar.KeyguardIndicationController.computeIndication(KeyguardIndicationController.java:135)

E/AndroidRuntime(20540):	at com.android.systemui.statusbar.KeyguardIndicationController.updateIndication(KeyguardIndicationController.java:126)

E/AndroidRuntime(20540):	at com.android.systemui.statusbar.KeyguardIndicationController.setVisible(KeyguardIndicationController.java:77)

E/AndroidRuntime(20540):	at com.android.systemui.statusbar.phone.PhoneStatusBar.updateKeyguardState(PhoneStatusBar.java:2918)

E/AndroidRuntime(20540):	at com.android.systemui.statusbar.phone.PhoneStatusBar.showKeyguard(PhoneStatusBar.java:2892)

E/AndroidRuntime(20540):	at com.android.systemui.statusbar.phone.StatusBarKeyguardViewManager.showBouncerOrKeyguard(StatusBarKeyguardViewManager.java:104)

E/AndroidRuntime(20540):	at com.android.systemui.statusbar.phone.StatusBarKeyguardViewManager.reset(StatusBarKeyguardViewManager.java:133)

E/AndroidRuntime(20540):	at com.android.systemui.statusbar.phone.StatusBarKeyguardViewManager.show(StatusBarKeyguardViewManager.java:90)

E/AndroidRuntime(20540):	at com.android.systemui.keyguard.KeyguardViewMediator.handleShow(KeyguardViewMediator.java:1199)

E/AndroidRuntime(20540):	at com.android.systemui.keyguard.KeyguardViewMediator.access$1600(KeyguardViewMediator.java:117)

E/AndroidRuntime(20540):	at com.android.systemui.keyguard.KeyguardViewMediator$5.handleMessage(KeyguardViewMediator.java:1049)

E/AndroidRuntime(20540):	at android.os.Handler.dispatchMessage(Handler.java:102)

E/AndroidRuntime(20540):	at android.os.Looper.loop(Looper.java:135)

E/AndroidRuntime(20540):	at android.app.ActivityThread.main(ActivityThread.java:5070)

E/AndroidRuntime(20540):	at java.lang.reflect.Method.invoke(Native Method)

E/AndroidRuntime(20540):	at java.lang.reflect.Method.invoke(Method.java:372)

E/AndroidRuntime(20540):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:836)

E/AndroidRuntime(20540):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:631)

I/am_crash( 809): [20540,0,com.android.systemui,1086864909,java.util.IllegalFormatConversionException,%d can't format java.lang.String arguments,Formatter.java,1489]

W/ActivityManager( 809): Process com.android.systemui has crashed too many times: killing!

I/am_process_crashed_too_much( 809): [0,com.android.systemui,10020]

I/Process (20540): Sending signal. PID: 20540 SIG: 9

I/ActivityManager( 809): Process com.android.systemui (pid 20540) has died.

I/am_proc_died( 809): [0,20540,com.android.systemui]

W/AudioService( 809): Current remote volume controller died, unregistering

I/am_destroy_service( 809): [0,276853775,-1]

W/ActivityManager( 809): Scheduling restart of crashed service com.android.systemui/.SystemUIService in 0ms

I/am_schedule_service_restart( 809): [0,com.android.systemui/.SystemUIService,0]

W/ActivityManager( 809): Scheduling restart of crashed service com.android.systemui/.keyguard.KeyguardService in 0ms

I/am_schedule_service_restart( 809): [0,com.android.systemui/.keyguard.KeyguardService,0]

W/VolumeController( 809): Error calling dismiss

W/VolumeController( 809): android.os.DeadObjectException

W/VolumeController( 809):	at android.os.BinderProxy.transact(Native Method)

W/VolumeController( 809):	at android.media.IVolumeController$Stub$Proxy.dismiss(IVolumeController.java:241)

W/VolumeController( 809):	at android.media.VolumeController.postDismiss(VolumeController.java:130)

W/VolumeController( 809):	at android.media.AudioService.setVolumeController(AudioService.java:4748)

W/VolumeController( 809):	at android.media.AudioService$3.binderDied(AudioService.java:4757)

W/VolumeController( 809):	at android.os.BinderProxy.sendDeathNotice(Binder.java:493)

V/KeyguardServiceDelegate( 809): *** Keyguard disconnected (boo!)

W/MediaFocusControl( 809): RemoteControl: display android.media.IRemoteControlDisplay$Stub$Proxy@1a2ceb48 died

I/StatusBarManagerService( 809): binder died for pkg=com.android.systemui

I/WindowState( 809): WIN DEATH: Window{13a6002e u0 NavigationBar}

D/WifiService( 809): Client connection lost with reason: 4

D/NotificationListeners( 809): binderDied

D/NotificationListeners( 809): removeServiceImpl service=android.service.notification.INotificationListener$Stub$Proxy@16804de1 u=-1

D/NotificationListeners( 809): Removing active service ComponentInfo{com.android.systemui/com.android.systemui.statusbar.phone.PhoneStatusBar}

W/InputDispatcher( 809): channel '2d6a8630 SearchPanel (server)' ~ Consumer closed input channel or an error occurred. events=0x9

E/InputDispatcher( 809): channel '2d6a8630 SearchPanel (server)' ~ Channel is unrecoverably broken and will be disposed!

W/InputDispatcher( 809): channel '133d94d7 StatusBar (server)' ~ Consumer closed input channel or an error occurred. events=0x9

E/InputDispatcher( 809): channel '133d94d7 StatusBar (server)' ~ Channel is unrecoverably broken and will be disposed!

W/InputDispatcher( 809): channel '33391eb Heads Up (server)' ~ Consumer closed input channel or an error occurred. events=0x9

E/InputDispatcher( 809): channel '33391eb Heads Up (server)' ~ Channel is unrecoverably broken and will be disposed!

I/WindowState( 809): WIN DEATH: Window{2d6a8630 u0 SearchPanel}

W/InputDispatcher( 809): Attempted to unregister already unregistered input channel '2d6a8630 SearchPanel (server)'

I/WindowState( 809): WIN DEATH: Window{133d94d7 u0 StatusBar}

W/InputDispatcher( 809): Attempted to unregister already unregistered input channel '133d94d7 StatusBar (server)'

I/WindowState( 809): WIN DEATH: Window{33391eb u0 Heads Up}

W/InputDispatcher( 809): Attempted to unregister already unregistered input channel '33391eb Heads Up (server)'

I/am_proc_start( 809): [0,20608,10020,com.android.systemui,restart,com.android.systemui]

I/ActivityManager( 809): Start proc com.android.systemui for restart com.android.systemui: pid=20608 uid=10020 gids={50020, 1028, 1015, 1035, 3002, 3001}

I/am_proc_bound( 809): [0,20608,com.android.systemui]

I/am_create_service( 809): [0,1019906790,.SystemUIService,10020,20608]

I/am_create_service( 809): [0,590485274,.KeyguardService,10020,20608]