[Nexus 5 Android Development] abemore:
Charging issue on 4/2 CAF

When using phone while connected to charger, sometimes the status bar charging indicator and the notification LED will start blinking at a rate of about once per second. N5 will lose charge during this blinking. Unplug and replug will restore normal charging until the issue repeats.

Anyone know what's going on?

04-11 00:19:17.343 1995 2010 W art : Long monitor contention with owner android.bg (2008) at void com.android.server.net.NetworkPolicyManagerService$AppIdleStateChangeListener.onParoleStateChanged(boolean)(NetworkPolicyManagerService.java:3220) waiters=0 in void com.android.server.net.NetworkPolicyManagerService$1.onUidStateChanged(int, int) for 132ms

04-11 00:19:18.142 4246 4246 D OpenDelta: battery state --> 1

04-11 00:19:18.388 1995 2012 E BatteryStatsService: no controller energy info supplied

04-11 00:19:18.388 1995 2012 E BatteryStatsService: no controller energy info supplied

04-11 00:19:18.390 1995 2021 E QCOM PowerHAL: Failed to acquire lock.

04-11 00:19:18.427 1995 2012 E BatteryStatsService: modem info is invalid: ModemActivityInfo{ mTimestamp=0 mSleepTimeMs=0 mIdleTimeMs=0 mTxTimeMs[]=[0, 0, 0, 0, 0] mRxTimeMs=0 mEnergyUsed=0}

04-11 00:19:18.438 1995 1995 I EntropyMixer: Writing entropy...

04-11 00:19:18.439 2679 16546 E NetworkScheduler.SR: Invalid parameter app

04-11 00:19:18.439 2679 16546 E NetworkScheduler.SR: Invalid package name : Perhaps you didn't include a PendingIntent in the extras?

04-11 00:19:18.484 1995 2146 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.ACTION_POWER_CONNECTED flg=0x4000010 } to com.zonewalker.acar/.core.service.BackgroundServicesBootstrapper

04-11 00:19:18.493 12808 12822 E DatabaseUtils: Writing exception to parcel

04-11 00:19:18.493 12808 12822 E DatabaseUtils: java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media from pid=13618, uid=10130 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()

04-11 00:19:18.493 12808 12822 E DatabaseUtils:	at android.content.ContentProvider.enforceReadPermissionInner(ContentProvider.java:608)

04-11 00:19:18.493 12808 12822 E DatabaseUtils:	at android.content.ContentProvider$Transport.enforceReadPermission(ContentProvider.java:483)

04-11 00:19:18.493 12808 12822 E DatabaseUtils:	at android.content.ContentProvider$Transport.query(ContentProvider.java:212)

04-11 00:19:18.493 12808 12822 E DatabaseUtils:	at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:112)

04-11 00:19:18.493 12808 12822 E DatabaseUtils:	at android.os.Binder.execTransact(Binder.java:565)

04-11 00:19:18.495 13618 19182 E iu.UploadsManager: Insufficient permissions to process media

04-11 00:19:18.495 13618 19182 E iu.UploadsManager: java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media from pid=13618, uid=10130 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()

04-11 00:19:18.495 13618 19182 E iu.UploadsManager:	at android.os.Parcel.readException(Parcel.java:1684)

04-11 00:19:18.495 13618 19182 E iu.UploadsManager:	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:183)

04-11 00:19:18.495 13618 19182 E iu.UploadsManager:	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)

04-11 00:19:18.495 13618 19182 E iu.UploadsManager:	at android.content.ContentProviderProxy.query(ContentProviderNative.java:421)

04-11 00:19:18.495 13618 19182 E iu.UploadsManager:	at android.content.ContentResolver.query(ContentResolver.java:534)

04-11 00:19:18.495 13618 19182 E iu.UploadsManager:	at android.content.ContentResolver.query(ContentResolver.java:475)

04-11 00:19:18.495 13618 19182 E iu.UploadsManager:	at ike.a(PG:19)

04-11 00:19:18.495 13618 19182 E iu.UploadsManager:	at com.google.android.libraries.social.autobackup.FingerprintScannerIntentService.onHandleIntent(PG:24)

04-11 00:19:18.495 13618 19182 E iu.UploadsManager:	at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:68)

04-11 00:19:18.495 13618 19182 E iu.UploadsManager:	at android.os.Handler.dispatchMessage(Handler.java:102)

04-11 00:19:18.495 13618 19182 E iu.UploadsManager:	at android.os.Looper.loop(Looper.java:154)

04-11 00:19:18.495 13618 19182 E iu.UploadsManager:	at android.os.HandlerThread.run(HandlerThread.java:61)

04-11 00:19:18.675 1995 2012 E BatteryStatsService: no controller energy info supplied

04-11 00:19:18.675 1995 2012 E BatteryStatsService: no controller energy info supplied

04-11 00:19:18.682 4246 4246 D OpenDelta: battery state --> 0

04-11 00:19:18.705 1995 2021 E QCOM PowerHAL: Failed to acquire lock.

04-11 00:19:18.713 1995 2012 E BatteryStatsService: modem info is invalid: ModemActivityInfo{ mTimestamp=0 mSleepTimeMs=0 mIdleTimeMs=0 mTxTimeMs[]=[0, 0, 0, 0, 0] mRxTimeMs=0 mEnergyUsed=0}

04-11 00:19:19.643 4246 4246 D OpenDelta: battery state --> 1

04-11 00:19:19.887 1995 2012 E BatteryStatsService: no controller energy info supplied

04-11 00:19:19.887 1995 2012 E BatteryStatsService: no controller energy info supplied

04-11 00:19:19.890 1995 2021 E QCOM PowerHAL: Failed to acquire lock.

04-11 00:19:19.943 1995 1995 I EntropyMixer: Writing entropy...

04-11 00:19:19.952 1995 2012 E BatteryStatsService: modem info is invalid: ModemActivityInfo{ mTimestamp=0 mSleepTimeMs=0 mIdleTimeMs=0 mTxTimeMs[]=[0, 0, 0, 0, 0] mRxTimeMs=0 mEnergyUsed=0}

04-11 00:19:19.973 2679 16546 E NetworkScheduler.SR: Invalid parameter app

04-11 00:19:19.973 2679 16546 E NetworkScheduler.SR: Invalid package name : Perhaps you didn't include a PendingIntent in the extras?

04-11 00:19:20.026 1995 21184 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.ACTION_POWER_CONNECTED flg=0x4000010 } to com.zonewalker.acar/.core.service.BackgroundServicesBootstrapper

04-11 00:19:20.034 12808 12822 E DatabaseUtils: Writing exception to parcel

04-11 00:19:20.034 12808 12822 E DatabaseUtils: java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media from pid=13618, uid=10130 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()

04-11 00:19:20.034 12808 12822 E DatabaseUtils:	at android.content.ContentProvider.enforceReadPermissionInner(ContentProvider.java:608)

04-11 00:19:20.034 12808 12822 E DatabaseUtils:	at android.content.ContentProvider$Transport.enforceReadPermission(ContentProvider.java:483)

04-11 00:19:20.034 12808 12822 E DatabaseUtils:	at android.content.ContentProvider$Transport.query(ContentProvider.java:212)

04-11 00:19:20.034 12808 12822 E DatabaseUtils:	at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:112)

04-11 00:19:20.034 12808 12822 E DatabaseUtils:	at android.os.Binder.execTransact(Binder.java:565)

04-11 00:19:20.035 13618 19195 E iu.UploadsManager: Insufficient permissions to process media

04-11 00:19:20.035 13618 19195 E iu.UploadsManager: java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media from pid=13618, uid=10130 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()

04-11 00:19:20.035 13618 19195 E iu.UploadsManager:	at android.os.Parcel.readException(Parcel.java:1684)

04-11 00:19:20.035 13618 19195 E iu.UploadsManager:	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:183)

04-11 00:19:20.035 13618 19195 E iu.UploadsManager:	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)

04-11 00:19:20.035 13618 19195 E iu.UploadsManager:	at android.content.ContentProviderProxy.query(ContentProviderNative.java:421)

04-11 00:19:20.035 13618 19195 E iu.UploadsManager:	at android.content.ContentResolver.query(ContentResolver.java:534)

04-11 00:19:20.035 13618 19195 E iu.UploadsManager:	at android.content.ContentResolver.query(ContentResolver.java:475)

04-11 00:19:20.035 13618 19195 E iu.UploadsManager:	at ike.a(PG:19)

04-11 00:19:20.035 13618 19195 E iu.UploadsManager:	at com.google.android.libraries.social.autobackup.FingerprintScannerIntentService.onHandleIntent(PG:24)

04-11 00:19:20.035 13618 19195 E iu.UploadsManager:	at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:68)

04-11 00:19:20.035 13618 19195 E iu.UploadsManager:	at android.os.Handler.dispatchMessage(Handler.java:102)

04-11 00:19:20.035 13618 19195 E iu.UploadsManager:	at android.os.Looper.loop(Looper.java:154)

04-11 00:19:20.035 13618 19195 E iu.UploadsManager:	at android.os.HandlerThread.run(HandlerThread.java:61)

04-11 00:19:20.174 1995 2012 E BatteryStatsService: no controller energy info supplied

04-11 00:19:20.174 1995 2012 E BatteryStatsService: no controller energy info supplied

04-11 00:19:20.176 4246 4246 D OpenDelta: battery state --> 0

04-11 00:19:20.206 1995 2021 E QCOM PowerHAL: Failed to acquire lock.

04-11 00:19:20.216 1995 2012 E BatteryStatsService: modem info is invalid: ModemActivityInfo{ mTimestamp=0 mSleepTimeMs=0 mIdleTimeMs=0 mTxTimeMs[]=[0, 0, 0, 0, 0] mRxTimeMs=0 mEnergyUsed=0}

04-11 00:19:21.132 4246 4246 D OpenDelta: battery state --> 1

04-11 00:19:21.361 1995 2012 E BatteryStatsService: no controller energy info supplied

04-11 00:19:21.362 1995 2012 E BatteryStatsService: no controller energy info supplied

04-11 00:19:21.364 1995 2021 E QCOM PowerHAL: Failed to acquire lock.

04-11 00:19:21.406 1995 1995 I EntropyMixer: Writing entropy...

04-11 00:19:21.413 1995 2012 E BatteryStatsService: modem info is invalid: ModemActivityInfo{ mTimestamp=0 mSleepTimeMs=0 mIdleTimeMs=0 mTxTimeMs[]=[0, 0, 0, 0, 0] mRxTimeMs=0 mEnergyUsed=0}

04-11 00:19:21.449 2679 16546 E NetworkScheduler.SR: Invalid parameter app

04-11 00:19:21.449 2679 16546 E NetworkScheduler.SR: Invalid package name : Perhaps you didn't include a PendingIntent in the extras?

04-11 00:19:21.472 1995 2009 W ProcessCpuTracker: Skipping unknown process pid 19206

04-11 00:19:21.478 1995 15435 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.ACTION_POWER_CONNECTED flg=0x4000010 } to com.zonewalker.acar/.core.service.BackgroundServicesBootstrapper

04-11 00:19:21.486 12808 12822 E DatabaseUtils: Writing exception to parcel

04-11 00:19:21.486 12808 12822 E DatabaseUtils: java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media from pid=13618, uid=10130 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()

04-11 00:19:21.486 12808 12822 E DatabaseUtils:	at android.content.ContentProvider.enforceReadPermissionInner(ContentProvider.java:608)

04-11 00:19:21.486 12808 12822 E DatabaseUtils:	at android.content.ContentProvider$Transport.enforceReadPermission(ContentProvider.java:483)

04-11 00:19:21.486 12808 12822 E DatabaseUtils:	at android.content.ContentProvider$Transport.query(ContentProvider.java:212)

04-11 00:19:21.486 12808 12822 E DatabaseUtils:	at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:112)

04-11 00:19:21.486 12808 12822 E DatabaseUtils:	at android.os.Binder.execTransact(Binder.java:565)

04-11 00:19:21.487 13618 19208 E iu.UploadsManager: Insufficient permissions to process media

04-11 00:19:21.487 13618 19208 E iu.UploadsManager: java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media from pid=13618, uid=10130 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()

04-11 00:19:21.487 13618 19208 E iu.UploadsManager:	at android.os.Parcel.readException(Parcel.java:1684)

04-11 00:19:21.487 13618 19208 E iu.UploadsManager:	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:183)

04-11 00:19:21.487 13618 19208 E iu.UploadsManager:	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)

04-11 00:19:21.487 13618 19208 E iu.UploadsManager:	at android.content.ContentProviderProxy.query(ContentProviderNative.java:421)

04-11 00:19:21.487 13618 19208 E iu.UploadsManager:	at android.content.ContentResolver.query(ContentResolver.java:534)

04-11 00:19:21.487 13618 19208 E iu.UploadsManager:	at android.content.ContentResolver.query(ContentResolver.java:475)

04-11 00:19:21.487 13618 19208 E iu.UploadsManager:	at ike.a(PG:19)

04-11 00:19:21.487 13618 19208 E iu.UploadsManager:	at com.google.android.libraries.social.autobackup.FingerprintScannerIntentService.onHandleIntent(PG:24)

04-11 00:19:21.487 13618 19208 E iu.UploadsManager:	at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:68)

04-11 00:19:21.487 13618 19208 E iu.UploadsManager:	at android.os.Handler.dispatchMessage(Handler.java:102)

04-11 00:19:21.487 13618 19208 E iu.UploadsManager:	at android.os.Looper.loop(Looper.java:154)

04-11 00:19:21.487 13618 19208 E iu.UploadsManager:	at android.os.HandlerThread.run(HandlerThread.java:61)

04-11 00:19:21.650 4246 4246 D OpenDelta: battery state --> 0

04-11 00:19:21.655 1995 2012 E BatteryStatsService: no controller energy info supplied

04-11 00:19:21.656 1995 2012 E BatteryStatsService: no controller energy info supplied

04-11 00:19:21.686 1995 2021 E QCOM PowerHAL: Failed to acquire lock.

04-11 00:19:21.709 1995 2012 E BatteryStatsService: modem info is invalid: ModemActivityInfo{ mTimestamp=0 mSleepTimeMs=0 mIdleTimeMs=0 mTxTimeMs[]=[0, 0, 0, 0, 0] mRxTimeMs=0 mEnergyUsed=0}

EDIT:

Looks like I greatly reduced the frequency and duration of this issue by going through all the app permissions and enabling storage permission for Google apps/services.

EDIT 2:

I just discovered the wiring has gone bad in my original N5 charger. It is possible that this was responsible for my charging issue.