DeviceBatteryInfo

Wisej.Hybrid.DeviceBatteryInfo

Namespace: Wisej.Hybrid

Assembly: Wisej.Hybrid (3.5.0.0)

Provides detailed information about the device's battery.

public class DeviceBatteryInfo : DeviceInfoBase

Access this class through the Info singleton.

Constructors

Initializes a new instance of the DeviceBatteryInfo class.

Properties

Double: Gets the current charge level of the battery as a percentage.

EnergySaverStatus: Gets the status of the energy saver feature on the device.

BatteryPowerSource: Gets how the device and battery are currently being powered or charged.

BatteryState: Gets the current state of the battery, indicating if it is charging or full.

Methods

Updates the info configuration.

ParameterTypeDescription

info

The info configuration.

Events

EventHandler Occurs when battery properties change, such as state or charge level.

Last updated