A method of controlling a transmit power by a user equipment, UE, in a wireless communication system, the method comprising: configuring a first cell group consisting of a primary cell, PCell, and zero or more secondary cells, SCells, and a second cell group consisting of one or more SCells; transmitting a physical random access channel, PRACH in the first cell group in a time unit #n; transmitting a first Hybrid Automatic Repeat reQuest Acknowledgement, HARQ-ACK, via a first physical uplink control channel, PUCCH, in the PCell in the time unit #n; and transmitting a second HARQ-ACK via a second PUCCH in a predefined SCell of the second cell group in the time unit #n, characterized in that a transmit power of the first HARQ-ACK is determined based on a value satisfying CG1.AN.power and a transmit power of the second HARQ-ACK is determined based on a value satisfying CG2.AN.power: - CG 1. AN. power = min Pmax − PRACH. power − min min Pmax − PRACH. power, CG 2. AN. C − power, CG 2. AN. G − power, CG 1. AN. C − power - − CG 2. AN. power = min Pmax − PRACH. power − CG 1. AN. power, CG 2. AN. C − power where min{A, B} indicates a smaller one of A and B, Pmax indicates a maximum transmit power of the UE, PRACH.power indicates a transmit power of the PRACH, CG1.AN.C-power indicates an original transmit power of the first HARQ-ACK, CG2.AN.C-power indicates an original transmit power of the second HARQ-ACK, and CG2.AN.G-power indicates a value related with power allocation. configuring a first cell group consisting of a primary cell, PCell, and zero or more secondary cells, SCells, and a second cell group consisting of one or more SCells; transmitting a physical random access channel, PRACH in the first cell group in a time unit #n; transmitting a first Hybrid Automatic Repeat reQuest Acknowledgement, HARQ-ACK, via a first physical uplink control channel, PUCCH, in the PCell in the time unit #n; and transmitting a second HARQ-ACK via a second PUCCH in a predefined SCell of the second cell group in the time unit #n, characterized in that a transmit power of the first HARQ-ACK is determined based on a value satisfying CG1.AN.power and a transmit power of the second HARQ-ACK is determined based on a value satisfying CG2.AN.power: - CG 1. AN. power = min Pmax − PRACH. power − min min Pmax − PRACH. power, CG 2. AN. C − power, CG 2. AN. G − power, CG 1. AN. C − power - − CG 2. AN. power = min Pmax − PRACH. power − CG 1. AN. power, CG 2. AN. C − power where min{A, B} indicates a smaller one of A and B, Pmax indicates a maximum transmit power of the UE, PRACH.power indicates a transmit power of the PRACH, CG1.AN.C-power indicates an original transmit power of the first HARQ-ACK, CG2.AN.C-power indicates an original transmit power of the second HARQ-ACK, and CG2.AN.G-power indicates a value related with power allocation. - CG 1. AN. power = min Pmax − PRACH. power − min min Pmax − PRACH. power, CG 2. AN. C − power, CG 2. AN. G − power, CG 1. AN. C − power - − CG 2. AN. power = min Pmax − PRACH. power − CG 1. AN. power, CG 2. AN. C − power where min{A, B} indicates a smaller one of A and B, Pmax indicates a maximum transmit power of the UE, PRACH.power indicates a transmit power of the PRACH, CG1.AN.C-power indicates an original transmit power of the first HARQ-ACK, CG2.AN.C-power indicates an original transmit power of the second HARQ-ACK, and CG2.AN.G-power indicates a value related with power allocation.