Simulate charge level, playdate.getPowerStatus().screws, etc. in Simulator

It would be nice sometimes to be able to simulate different power conditions, like charge level and whether connected to USB vs. screws/Stereo Dock. Maybe in the Playdate menu or a new dialog.

Not a huge high-priority need! But in my case, it would be useful for testing icons for power status that some of my Playtime clocks show in the corner. And it would be useful to quickly test my app's response to different battery levels (it sleeps based on that).

Looking ahead to future titles, I might render a different on-screen graphic to represent the Playdate, depending on whether it is docked or not.

The SDK can do all this, it's just tricky to test!

2 Likes

Good idea, we'll add this to the tracker. Thanks!

2 Likes