There is an option flag that can be turned on, which will make Sphero remain on in the charger, you can add it to your SDK, as ColdSnickersBar suggests, or you can use the Sphero app on iOS or Android.
This can be done in the Spero version of the application on iOS and Android on the Advanced Settings screen. For quick access to advanced settings, click "Sphero" in the middle of the usual settings screen, it can be difficult to call, it may take several attempts. After accessing it, turn off the โSleep in chargerโ switch.
Caring for the ball in the charger can negatively affect battery life.
Jon c source share