Important: The information in this document is obsolete and should not be used for new development.
Battery Time Structure
TheGetBatteryTimes
function returns information about the time remaining on the computer's battery or batteries in a data structure of typeBatteryTimeRec
.
typedef struct BatteryTimeRec { unsigned long expectedBatteryTime; /* estimated time remaining */ unsigned long minimumBatteryTime; /* minimum time remaining */ unsigned long maximumBatteryTime; /* maximum time remaining */ unsigned long timeUntilCharged; /* time until full charge */ } BatteryTimeRec;