static string GetModel() => IOKit.GetPlatformExpertPropertyValue <NSData>("model")?.ToString() ?? string.Empty;
static void StartBatteryListeners() { powerSourceNotification = IOKit.CreatePowerSourceNotification(PowerSourceNotification); CFRunLoop.Current.AddSource(powerSourceNotification, CFRunLoop.ModeDefault); }