power property

JSPower get power

Use the chrome.power API to override the system's power management features.

Implementation

JSPower get power {
  var powerNullable = this.powerNullable;
  if (powerNullable == null) {
    throw ApiNotAvailableException('chrome.power');
  }
  return powerNullable;
}