BatteryReport BatteryReport BatteryReport BatteryReport BatteryReport Class

Definition

Provides properties that indicate the charge, capacity, and status of the battery. For more info, see Get battery information.

public : sealed class BatteryReport
struct winrt::Windows::Devices::Power::BatteryReport
public sealed class BatteryReport
Public NotInheritable Class BatteryReport
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

All properties in BatteryReport will return null when the battery is not present or the value is not reported by the battery controller.

Properties

ChargeRateInMilliwatts ChargeRateInMilliwatts ChargeRateInMilliwatts ChargeRateInMilliwatts ChargeRateInMilliwatts

Gets the rate that the battery is charging.

DesignCapacityInMilliwattHours DesignCapacityInMilliwattHours DesignCapacityInMilliwattHours DesignCapacityInMilliwattHours DesignCapacityInMilliwattHours

Gets the estimated energy capacity of a new battery of this type.

FullChargeCapacityInMilliwattHours FullChargeCapacityInMilliwattHours FullChargeCapacityInMilliwattHours FullChargeCapacityInMilliwattHours FullChargeCapacityInMilliwattHours

Gets the fully-charged energy capacity of the battery.

RemainingCapacityInMilliwattHours RemainingCapacityInMilliwattHours RemainingCapacityInMilliwattHours RemainingCapacityInMilliwattHours RemainingCapacityInMilliwattHours

Gets the remaining power capacity of the battery.

Status Status Status Status Status

Gets a BatteryStatus enumeration that indicates the status of the battery.

See also