1. A terminal device configured to communicate with a base station device by using a serving cell, the terminal device comprising:reception circuitry that receives information that indicates a subframe of a first subframe set and/or a subframe of a second subframe set, information that indicates a first parameter for the first subframe set, and information that indicates a second parameter for the second subframe set; and
transmission circuitry that:
sets transmission power for transmission of a physical uplink shared channel in a subframe belonging to the first subframe set, based on the first parameter and a third parameter relating to power control adjustment,
sets transmission power for transmission of a physical uplink shared channel in a subframe belonging to the second subframe set, based on the second parameter and a fourth parameter relating to the power control adjustment,
performs resetting of accumulation per a subframe set in a case that the first parameter and the second parameter are configured, and the accumulation is enabled, and
resets accumulation corresponding to a value of the third parameter, while maintaining accumulation corresponding to a value of the fourth parameter, from accumulation corresponding to the third parameter and accumulation corresponding to the fourth parameter, based on reception of a random access response message for the serving cell in a case that accumulation is enabled.