It is safe, but the battery will charge each other.