A system comprising: a memory component of a memory sub-system; and a processing device, operatively coupled with the memory component, configured to determine (310, 410) that an amount of invalid data on a first data block stored on the memory component satisfies a threshold level for attempting to perform a garbage collection operation for the first data block, the garbage collection operation for the first data block comprising a migration of one or more pages of the first data block that contain valid data to a second data block stored on the memory component; upon determining that the amount of invalid data on the first data block satisfies the threshold level, determine whether a battery life state of a battery associated with the memory sub-system is below a first battery life threshold specified by the memory sub-system; upon determining that the battery life state is below the first battery life threshold, postpone the garbage collection operation for the first data block; upon postponing the garbage collection operation for the data block, monitoring the battery life state to determine whether the battery life state changes to be equal to or above a second battery life threshold further specified by the memory subsystem; and upon determining that the battery life state changes to be equal to or above the second battery life threshold, perform the garbage collection operation for the first data block. a memory component of a memory sub-system; and a processing device, operatively coupled with the memory component, configured to determine (310, 410) that an amount of invalid data on a first data block stored on the memory component satisfies a threshold level for attempting to perform a garbage collection operation for the first data block, the garbage collection operation for the first data block comprising a migration of one or more pages of the first data block that contain valid data to a second data block stored on the memory component; upon determining that the amount of invalid data on the first data block satisfies the threshold level, determine whether a battery life state of a battery associated with the memory sub-system is below a first battery life threshold specified by the memory sub-system; upon determining that the battery life state is below the first battery life threshold, postpone the garbage collection operation for the first data block; upon postponing the garbage collection operation for the data block, monitoring the battery life state to determine whether the battery life state changes to be equal to or above a second battery life threshold further specified by the memory subsystem; and upon determining that the battery life state changes to be equal to or above the second battery life threshold, perform the garbage collection operation for the first data block. determine (310, 410) that an amount of invalid data on a first data block stored on the memory component satisfies a threshold level for attempting to perform a garbage collection operation for the first data block, the garbage collection operation for the first data block comprising a migration of one or more pages of the first data block that contain valid data to a second data block stored on the memory component; upon determining that the amount of invalid data on the first data block satisfies the threshold level, determine whether a battery life state of a battery associated with the memory sub-system is below a first battery life threshold specified by the memory sub-system; upon determining that the battery life state is below the first battery life threshold, postpone the garbage collection operation for the first data block; upon postponing the garbage collection operation for the data block, monitoring the battery life state to determine whether the battery life state changes to be equal to or above a second battery life threshold further specified by the memory subsystem; and upon determining that the battery life state changes to be equal to or above the second battery life threshold, perform the garbage collection operation for the first data block.