Class: Toybox.WatchUi.WatchFacePowerInfo

Overview

Power information provided when the power budget is exceeded during a call to onPartialUpdate().

This is automatically passed to the onPowerBudgetExceeded() method when it is invoked.

See Also:

Since:

API Level 2.3.0

Instance Member Summary collapse

Instance Attribute Details

var executionTimeAverage as Lang.Float

The average partial update execution time onPartialUpdate() took to complete.

Since:

API Level 2.3.0

Returns:

  • Lang.Float

    Average elapsed time per update in milliseconds (ms)

var executionTimeLimit as Lang.Float

The maximum allowable partial update execution time onPartialUpdate() is allowed to take.

Since:

API Level 2.3.0

Returns:

  • Lang.Float

    Maximum allowed time in milliseconds (ms)


Generated Dec 11, 2024, 8:58:44 AM