WiFi Framework C++ Edition
wclPowerStatus Struct Reference

Contains information about the power status of the system. More...

#include <wclPowerEvents.h>

Public Attributes

wclACLineStatus ACLineStatus
 The AC power status.
 
wclBatteryChargeStatusFlags BatteryChargeStatus
 The battery charge status. The set is empty if the battery is not being charged and the battery capacity is between low and high.
 
unsigned char BatteryLifePercent
 The percentage of full battery charge remaining. This member can be a value in the range 0 to 100, or 255 if status is unknown.
 
bool BatterySavingState
 The status of battery saver. False if the battery saver is off. True if the battery saver on. Save energy where possible.
 
unsigned long BatteryLifeTime
 The number of seconds of battery life remaining, or 0xFFFFFFFF if remaining seconds are unknown or if the device is connected to AC power.
 
unsigned long BatteryFullLifeTime
 The number of seconds of battery life when at full charge, or 0xFFFFFFFF if full battery lifetime is unknown or if the device is connected to AC power.
 

Detailed Description

Contains information about the power status of the system.