If it's continually rebooting then no, it's not charging. The battery is probably too low to boot into the charging mode, so you'll need to charge the battery externally (desktop charger or compatible phone).