private void PollPowerStatus()
{
if (DateTime.Now.Subtract(this.pollPowerStatusLastPoll).TotalSeconds < this.pollPowerStatusEverySec)
{
return;
}
this.powerStatus = new NativeMethods.StructSystemPowerStatus();
NativeMethods.GetSystemPowerStatus(ref this.powerStatus);
}