The GUI of the sample application is shown below. The spheres bounce between the walls of the cube and from each other using a collision detection and resolution algorithm. The number of spheres in the scene and the rate at which the next position is computed can be adjusted by using slider control on the right in the UI.
Figure 1: Sample application UI
Click image for larger view
Figure 1 displays a screen-shot of when the application is running on an external power source (running on AC power). Note that setting the threshold for a low battery alert is available only when running on battery power. The user can select the battery level at which they prefer to be notified using the slider control and select the check-box below to activate it. Once the specified battery level is reached, the display screen state is set to “blanked” and the application state is frozen. The display screen resolution is lowered when switching from AC to battery power.