Skip to content

Latest commit

 

History

History
136 lines (91 loc) · 3.33 KB

mdm-devicestatus-battery01.md

File metadata and controls

136 lines (91 loc) · 3.33 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
MDM_DeviceStatus_Battery01 class
The MDM\_DeviceStatus\_Battery01 class is used by the enterprise to query the state of battery compliance of devices with their enterprise policies.
f4e92e2a-e267-467a-9905-2539dcaf8d8c
MDM_DeviceStatus_Battery01 class
MDM_DeviceStatus_Battery01 class, described
apiref
MDM_DeviceStatus_Battery01
MDM_DeviceStatus_Battery01.InstanceID
MDM_DeviceStatus_Battery01.ParentID
DMWmiBridgeProv.dll
DllExport
reference
05/31/2018

MDM_DeviceStatus_Battery01 class

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

The MDM_DeviceStatus_Battery01 class is used by the enterprise to query the state of battery compliance of devices with their enterprise policies.

The following syntax is simplified from MOF code and includes all inherited properties.

Syntax

[InPartition("local-system"), dynamic, provider("DMWmiBridgeProv")]
class MDM_DeviceStatus_Battery01
{
  string InstanceID;
  string ParentID;
  sint32 Status;
  sint32 EstimatedChargeRemaining;
  sint32 EstimatedRuntime;
};

Members

The MDM_DeviceStatus_Battery01 class has these types of members:

Properties

The MDM_DeviceStatus_Battery01 class has these properties.

EstimatedChargeRemaining

Data type: sint32

Access type: Read/write

EstimatedRuntime

Data type: sint32

Access type: Read/write

InstanceID

Data type: string

Access type: Read-only

Qualifiers: key

Node for the battery query.

ParentID

Data type: string

Access type: Read-only

Qualifiers: key

Describes the full path to the parent node. For this class, the string is "./Vendor/MSFT/DeviceStatus"

Status

Data type: sint32

Access type: Read/write

Requirements

Requirement Value
Minimum supported client
Windows 10 [desktop apps only]
Minimum supported server
None supported
Namespace
Root\cimv2\mdm\dmmap
MOF
DMWmiBridgeProv.mof
DLL
DMWmiBridgeProv.dll