WatchOS Battery Level in SwiftUI

How do I get the current battery level of a watch in SwiftUI?

UIDevice.current.batteryLevel is not available on WatchOS.

Thanks.

WKInterfaceDevice.current().batteryLevel

That worked.

Thanks!

WatchOS Battery Level in SwiftUI
 
 
Q