This can occur when the phone is using more power than it is receiving through the charging cable. It could be caused by running resource-intensive apps or a malfunctioning battery.