Custom G Code to Slow Down Bed Heating

Hi,
Can anyone help me how to alter the starting G code of prints so that the bed heats up in increments of 5 degrees, pauses then continues to heat up? I want to experiment with the power consumption and see if my UPS can take the load effectively.
Thank you in advance!

Check out this thread.

Do understand that the P series printers will have issue as it sounds like they start to heat the bed while the print is downloading.