Stage completion time affects both boss health and rewards! Every 15 seconds, the Golden Skull will fill up a battery. If you haven’t reached the Henchbot (boss) yet, it will be added to his health.
After you defeat him, any remaining energy is converted to batteries you can spend on upgrades (which help you go faster)!