Capping refresh rate to number higher than 50

playdate.display.setRefreshRate currently has allowed values of 0 - 50 where 0 means unrestricted.

I would love to have a way to cap the game refresh rate at something between 50 and infinite even if the display can only do 50 fps. I know you can limit the effective framerate with code, but then the CPU will still work at peak capacity.

With a waiting loop the game will use all the CPU time available and here's what happens if you use playdate.wait to cap the refresh rate:

Either way you end up draining a lot more power than necessary.