 #if os(macOS)
     
     import SystemConfiguration
+    import IOKit.ps
     
     private extension UIDevice {
         

                }
            }
        }
    }
    
#endif

                return family?.description ?? hardwareModel
            }
            
            static func powerSources() -> [PowerSource] {
                
                let sourcesInfo = IOPSCopyPowerSourcesInfo().takeRetainedValue()
                
                if let list = IOPSCopyPowerSourcesList(sourcesInfo).takeRetainedValue() as? [[String: Any]] {
                    
                    return list.flatMap({ PowerSource(info: $0)})
                }
                
                return []
            }
            
            static var batteryLevel: Float {
                
                return -1
            }
        }
    }
    
