<!--
{
  "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/PowerThresholdAlert",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "WorkoutKit"
    ],
    "preciseIdentifier" : "s:10WorkoutKit19PowerThresholdAlertV"
  },
  "title" : "PowerThresholdAlert"
}
-->

# PowerThresholdAlert

An alert for a power threshold.

```
struct PowerThresholdAlert
```

## Topics

### Creating power threshold alerts

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

Returns a new power threshold alert for the target measurement.

### Accessing alert data

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

The target measurement using power units.

[`var targetQuantity: HKQuantity`](/documentation/WorkoutKit/PowerThresholdAlert/targetQuantity)

A HealthKit quantity that represents the target power threshold.

### Comparing alerts

### Initializers

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

## Relationships

### Conforms To

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

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

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

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

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

---

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)