In a system, a generator is configured to charge a battery through a
charging wire connecting therebetween. A first unit measures a voltage of
the battery, and a second unit detects an operating rate of the
generator. A third unit determines that the charging wire is broken when
the measured battery voltage is lower than a predetermined threshold
voltage and the detected operating rate of the generator is lower than a
predetermined threshold value.