The present invention is a charging device that electrically charges an object
that is charged while being moved in a predetermined direction and an image forming
device having such a charging device. The charging device has: a charging member
that electrically charges the charged object; a power source that supplies electric
power to the charging member in order to electrically charge the charged object;
a contact member arranged downstream relative to the charging member as viewed
in the moving direction of the charged object and adapted to contact the charged
object directly or by way of a predetermined intermediary medium; an ammeter that
gauges an electric current caused to flow through the contact member due to an
electric charge on the charged object electrically charged by the charging member;
and a power source control section that controls the power source based on the
electric current gauged by the ammeter.