Battery status

R

Richard

Hi

Does anyone knows how to get into "GetSystemPowerStatus " function to get
the power status of the laptop's battery? If we are able to...

Many thanks in advance
Richard
 
R

Richard

Hi additional information. Can anyone help me put one and one together. Many
thanks again

typedef struct _SYSTEM_POWER_STATUS {
BYTE ACLineStatus;
BYTE BatteryFlag;
BYTE BatteryLifePercent;
BYTE Reserved1;
DWORD BatteryLifeTime;
DWORD BatteryFullLifeTime;
} SYSTEM_POWER_STATUS,
*LPSYSTEM_POWER_STATUS;
 
D

Douglas J. Steele

This newsgroup is for questions about Access, the database product that's
part of Office Professional.

I think you'd be better off asking in another newsgroup.
microsoft.public.wmi.programmer might be a good place to start.
 
Top