A charging/discharging circuit electrically controls the charge of a
battery using supplied current and discharge of it. A micro-controller
drives a robot according to instructions from a personal computer,
controls the charging/discharging circuit while monitoring the battery
state, and during the charge, prohibits the operation of a travel
mechanism.