BatteryInfo Class AndroidLib - Beatsleigher Edition
Contains information about connected Android device's battery
Inheritance Hierarchy

SystemObject
  RegawMOD.AndroidBatteryInfo

Namespace: RegawMOD.Android
Assembly: AndroidLib (in AndroidLib.dll) Version: 1.5.2.0 (1.5.2.0)
Syntax

public class BatteryInfo

The BatteryInfo type exposes the following members.

Constructors

  NameDescription
Protected methodBatteryInfo
Initializes a new instance of the BatteryInfo class
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a formatted string object containing all battery stats
(Overrides ObjectToString.)
Private methodUpdate
Top
Fields

  NameDescription
Private fieldacPower
Private fielddevice
Private fielddump
Private fieldhealth
Private fieldlevel
Private fieldoutString
Private fieldpresent
Private fieldscale
Private fieldstatus
Private fieldtechnology
Private fieldtemperature
Private fieldusbPower
Private fieldvoltage
Private fieldwirelessPower
Top
Properties

  NameDescription
Public propertyACPower
Gets a value indicating if the connected Android device is on AC Power
Public propertyHealth
Gets a value indicating the health of the battery
Public propertyLevel
Gets a value indicating the current charge level of the battery
Public propertyPresent
Gets a value indicating if there is a battery present
Public propertyScale
Gets a value indicating the scale of the battery
Public propertyStatus
Gets a value indicating the status of the battery
Public propertyTechnology
Gets a value indicating the battery's technology
Public propertyTemperature
Gets a value indicating the current temperature of the battery
Public propertyUSBPower
Gets a value indicating if the connected Android device is on USB Power
Public propertyVoltage
Gets a value indicating the current voltage of the battery
Public propertyWirelessPower
Gets a value indicating if the connected Android device is on Wireless Power
Top
See Also

Reference