Battery status

  • Thread starter Thread starter Richard
  • Start date Start date
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
 
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;
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top