Skip to content

Latest commit

 

History

History
104 lines (77 loc) · 3.68 KB

ns-batclass-battery_wmi_static_data.md

File metadata and controls

104 lines (77 loc) · 3.68 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:batclass._BATTERY_WMI_STATIC_DATA
BATTERY_WMI_STATIC_DATA (batclass.h)
Defines static data about a battery.
*PBATTERY_WMI_STATIC_DATA
BATTERY_WMI_STATIC_DATA
BATTERY_WMI_STATIC_DATA structure [Battery Devices]
PBATTERY_WMI_STATIC_DATA
PBATTERY_WMI_STATIC_DATA structure pointer [Battery Devices]
batclass/BATTERY_WMI_STATIC_DATA
batclass/PBATTERY_WMI_STATIC_DATA
battery.battery_wmi_static_data
battery\battery_wmi_static_data.htm
battery
39930853-AB5A-4DA5-A544-7913770C4D88
12/05/2018
*PBATTERY_WMI_STATIC_DATA, BATTERY_WMI_STATIC_DATA, BATTERY_WMI_STATIC_DATA structure [Battery Devices], PBATTERY_WMI_STATIC_DATA, PBATTERY_WMI_STATIC_DATA structure pointer [Battery Devices], batclass/BATTERY_WMI_STATIC_DATA, batclass/PBATTERY_WMI_STATIC_DATA, battery.battery_wmi_static_data
batclass.h
Batclass.h
Windows
Windows
BATTERY_WMI_STATIC_DATA, *PBATTERY_WMI_STATIC_DATA
19H1
_BATTERY_WMI_STATIC_DATA
batclass/_BATTERY_WMI_STATIC_DATA
PBATTERY_WMI_STATIC_DATA
batclass/PBATTERY_WMI_STATIC_DATA
BATTERY_WMI_STATIC_DATA
batclass/BATTERY_WMI_STATIC_DATA
c++
APIRef
kbSyntax
HeaderDef
Batclass.h
BATTERY_WMI_STATIC_DATA

-description

Defines static data about a battery.

-struct-fields

-field Tag

A tag that identifies a specific battery.

-field ManufactureDate

A BATTERY_MANUFACTURE_DATE structure that specifies the date that the battery was manufactured.

-field Granularity

Specifies the granularity as a BATTERY_REPORTING_SCALE value.

-field Capabilities

Battery capabilities as a ULONG value encoded with one or more of the following flags:

-field Technology

Specify zero for a primary, nonrechargeable battery, or one for a secondary, rechargeable battery.

-field Chemistry

A four-character string indicating the type of chemistry used in the battery. Possible values include "PbAc" (Lead Acid), "LION" (Lithium Ion), "NiCd" (Nickel Cadmium), "NiMH" (Nickel Metal Hydride), "NiZn" (Nickel Zinc), and "RAM" (Rechargeable Alkaline-Manganese). Additional values might be returned as additional battery types become available.

-field DesignedCapacity

The theoretical capacity of the battery when new, in milliwatt-hours. If BATTERY_CAPACITY_RELATIVE is set, the units are undefined.

-field DefaultAlert1

The capacity, in milliwatt-hours, at which a low battery alert should occur.

-field DefaultAlert2

The capacity, in milliwatt-hours, at which a warning battery alert should occur.

-field CriticalBias

Specify the amount, in milliwatt-hours, of any small reserved charge that remains when the critical battery level shows zero. Miniclass drivers should subtract this value from the battery's FullChargedCapacity and remaining capacity, which is reported in BATTERY_STATUS, before reporting those values.

-field Strings

Four variable length string values are stored with the first USHORT value containing the length of the string in bytes.

-see-also

BATTERY_MANUFACTURE_DATE