Share via


BATTERYLIFETIMEINFO (Windows Embedded CE 6.0)

1/6/2010

This structure puts the BatteryGetLifeTimeInfo parameters into a form that can be passed through an IOCTL.

Syntax

typedef struct _BatteryLifetimeInfo_tag {
  SYSTEMTIME stLastChange;
  DWORD cmsCpuUsage;
  DWORD cmsPreviousCpuUsage;
} BATTERYLIFETIMEINFO, *PBATTERYLIFETIMEINFO;

Members

  • stLastChange
    Pointer to the local time when the user last changed the batteries.
  • cmsCpuUsage
    Pointer to the amount of time the current batteries have been in active use.
  • cmsPreviousCpuUsage
    Pointer to the amount of time the previous batteries were in active use before the user replaced them, or zero if unknown.

Requirements

Header battery.h
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

BatteryGetLifeTimeInfo

Concepts

Battery Driver Structures