BATTERY_REPORTING_SCALE structure (wdm.h)

Battery miniclass drivers fill in this structure in response to certain BatteryMiniQueryInformation requests.

Syntax

typedef struct {
  ULONG Granularity;
  ULONG Capacity;
} BATTERY_REPORTING_SCALE, *PBATTERY_REPORTING_SCALE;

Members

Granularity

Specify the granularity of the Capacity value, in milliwatt-hours. For most batteries, this value describes a monotonically increasing scale of capacity. For lithium-ion batteries, this value describes one of two possible scales: a gross measure of battery capacity, with a large granularity, or a finer measure as the capacity approaches zero.

Capacity

Specify the battery capacity described by the corresponding granularity, in milliwatt-hours.

Requirements

Requirement Value
Header wdm.h (include Batclass.h, Wdm.h)

See also

BatteryMiniQueryInformation