Contains information about connected Android device's battery
Inheritance Hierarchy
RegawMOD.AndroidBatteryInfo
Namespace: RegawMOD.Android
Assembly: AndroidLib (in AndroidLib.dll) Version: 1.5.2.0 (1.5.2.0)
Syntax
The BatteryInfo type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| BatteryInfo |
Initializes a new instance of the BatteryInfo class
|
Methods
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString |
Returns a formatted string object containing all battery stats
(Overrides ObjectToString.) | |
| Update |
Fields
| Name | Description | |
|---|---|---|
| acPower | ||
| device | ||
| dump | ||
| health | ||
| level | ||
| outString | ||
| present | ||
| scale | ||
| status | ||
| technology | ||
| temperature | ||
| usbPower | ||
| voltage | ||
| wirelessPower |
Properties
| Name | Description | |
|---|---|---|
| ACPower |
Gets a value indicating if the connected Android device is on AC Power
| |
| Health |
Gets a value indicating the health of the battery
| |
| Level |
Gets a value indicating the current charge level of the battery
| |
| Present |
Gets a value indicating if there is a battery present
| |
| Scale |
Gets a value indicating the scale of the battery
| |
| Status |
Gets a value indicating the status of the battery
| |
| Technology |
Gets a value indicating the battery's technology
| |
| Temperature |
Gets a value indicating the current temperature of the battery
| |
| USBPower |
Gets a value indicating if the connected Android device is on USB Power
| |
| Voltage |
Gets a value indicating the current voltage of the battery
| |
| WirelessPower |
Gets a value indicating if the connected Android device is on Wireless Power
|
See Also