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 Apr 17, 2024 9:40:39 AM