<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WorkoutKit",
  "identifier" : "/documentation/WorkoutKit/PowerRangeAlert",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "WorkoutKit"
    ],
    "preciseIdentifier" : "s:10WorkoutKit15PowerRangeAlertV"
  },
  "title" : "PowerRangeAlert"
}
-->

# PowerRangeAlert

An alert for a range of power values.

```
struct PowerRangeAlert
```

## Topics

### Creating new power range alerts

[`init(target: ClosedRange<Measurement<UnitPower>>)`](/documentation/WorkoutKit/PowerRangeAlert/init(target:))

Creates a new power alert for the target range.

### Accessing the alert value

[`var target: ClosedRange<Measurement<UnitPower>>`](/documentation/WorkoutKit/PowerRangeAlert/target)

The target range.

[`var targetQuantityLowerBound: HKQuantity`](/documentation/WorkoutKit/PowerRangeAlert/targetQuantityLowerBound)

The target’s lower bound.

[`var targetQuantityUpperBound: HKQuantity`](/documentation/WorkoutKit/PowerRangeAlert/targetQuantityUpperBound)

The target’s upper bound.

### Comparing alerts

### Initializers

[`init(target: ClosedRange<Measurement<UnitPower>>, metric: WorkoutAlertMetric)`](/documentation/WorkoutKit/PowerRangeAlert/init(target:metric:))

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`WorkoutAlert`](/documentation/WorkoutKit/WorkoutAlert)

[`Hashable`](/documentation/Swift/Hashable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)