A vehicle comprising: a drive unit, a battery pack including a plurality of power storage units , and a switching relay (R1, R2) configured to switch between a first state and a second state, the first state being a state where the power storage units are electrically connected to each other, and the second state being a state where the power storage units are electrically disconnected from each other; and a plurality of charging ports configured to be electrically connected to the power storage units , respectively, a main relay device provided between the battery pack and the drive unit, the main relay device including a first main relay and a second main relay , the main relay device being connected to the battery pack via a positive electrode line (PL) which is connected to the first main relay , and a negative electrode line (NL) which is connected to the second main relay , characterised in that the charging ports include a first charging port and a second charging port , the vehicle comprising an electronic control unit configured to detect whether one or both first and second charging ports are respectively connected to a charging connector of a charging facility , and to switch the switching relay (R1, R2) to the second state when it is detected that the first and second charging ports are both connected to a charging connector , or switch the switching relay (R1, R2) to the first state when it is detected that the charging ports are not both connected to a charging connector , after a predetermined time has elapsed. a drive unit, a battery pack including a plurality of power storage units , and a switching relay (R1, R2) configured to switch between a first state and a second state, the first state being a state where the power storage units are electrically connected to each other, and the second state being a state where the power storage units are electrically disconnected from each other; and a plurality of charging ports configured to be electrically connected to the power storage units , respectively, a plurality of power storage units , and a switching relay (R1, R2) configured to switch between a first state and a second state, the first state being a state where the power storage units are electrically connected to each other, and the second state being a state where the power storage units are electrically disconnected from each other; and a plurality of charging ports configured to be electrically connected to the power storage units , respectively, a main relay device provided between the battery pack and the drive unit, the main relay device including a first main relay and a second main relay , the main relay device being connected to the battery pack via a positive electrode line (PL) which is connected to the first main relay , and a negative electrode line (NL) which is connected to the second main relay , characterised in that the charging ports include a first charging port and a second charging port , the vehicle comprising an electronic control unit configured to detect whether one or both first and second charging ports are respectively connected to a charging connector of a charging facility , and to switch the switching relay (R1, R2) to the second state when it is detected that the first and second charging ports are both connected to a charging connector , or switch the switching relay (R1, R2) to the first state when it is detected that the charging ports are not both connected to a charging connector , after a predetermined time has elapsed. <EOS>