Processing for Android

ambientMode

This variable is automatically set to true when the user is not looking at the watch, which then enters into ambient mode in order to save battery (the draw function is called only once every minute).