Ejemplo n.º 1
0
 public Dictionary<string, dynamic> RequestBatteryInfo()
 {
     Dictionary<string, dynamic> battInfo = new Dictionary<string, dynamic>();
     PList gasGaugeInfo = RequestDiagnostics()["GasGauge"];
     battInfo = gasGaugeInfo;
     PList battDomainInfo = new PList(RequestProperties("com.apple.mobile.battery"), true);
     battDomainInfo.ToList().ForEach(x => battInfo.Add(x.Key, x.Value));
     return gasGaugeInfo;
 }