Class: Toybox::WatchUi::WatchFacePowerInfo

Inherits:
Lang::Object show all

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:

  • 2.3.0

Instance Attribute Summary collapse

Method Summary

Methods inherited from Lang::Object

equals, hashCode, method, toString, weak

Instance Attribute Details

executionTimeAverageToybox::Lang::Float

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

Returns:

Since:

  • 2.3.0


13782
13783
13784
# File 'Monkeybrains.rb', line 13782

def executionTimeAverage
  @executionTimeAverage
end

executionTimeLimitToybox::Lang::Float

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

Returns:

Since:

  • 2.3.0


13789
13790
13791
# File 'Monkeybrains.rb', line 13789

def executionTimeLimit
  @executionTimeLimit
end