public string GetSystemBatteryState() { return(JsonConvert.SerializeObject(CallNtPowerInformationHandler.GetPowerInformation <CallNtPowerInformationHandler.SYSTEM_BATTERY_STATE>(CallNtPowerInformationHandler.PowerInformationLevel.SystemBatteryState))); }
public string GetSystemPowerInformation() { return(JsonConvert.SerializeObject(CallNtPowerInformationHandler.GetPowerInformation <CallNtPowerInformationHandler.SYSTEM_POWER_INFORMATION>(CallNtPowerInformationHandler.PowerInformationLevel.SystemPowerInformation))); }
public long GetLastWakeTime() { return(CallNtPowerInformationHandler.GetPowerInformation <long>(CallNtPowerInformationHandler.PowerInformationLevel.LastWakeTime)); }