Assuming you're on Marlin, the
PID_FUNCTIONAL_RANGE
variable determines how close you need to be to the set temperature for the PID to kick in. It defaults to 10 which means that the bed and hotend
should heat at full power until they are within 10C of the set temperature and then the PID should kick in.