I kept running out at 58 or 59 seconds, so what worked for me was waiting around by a blue dot in the beginning, until my energy had dropped by ~100, then picking up the dot. Repeat with other dots until around 30 seconds, then play normally. I tried not to get hit at all or to dash unless necessary.