BatteryManager
ActionCharging
ActionDischarging
BatteryHealthCold
BatteryHealthDead
BatteryHealthGood
BatteryHealthOverheat
BatteryHealthOverVoltage
BatteryHealthUnknown
BatteryHealthUnspecifiedFailure
BatteryPluggedAc
BatteryPluggedDock
BatteryPluggedUsb
BatteryPluggedWireless
BatteryPropertyCapacity
BatteryPropertyChargeCounter
BatteryPropertyCurrentAverage
BatteryPropertyCurrentNow
BatteryPropertyEnergyCounter
BatteryPropertyStatus
BatteryStatusCharging
BatteryStatusDischarging
BatteryStatusFull
BatteryStatusNotCharging
BatteryStatusUnknown
ExtraBatteryLow
ExtraChargingStatus
ExtraCycleCount
ExtraHealth
ExtraIconSmall
ExtraLevel
ExtraPlugged
ExtraPresent
ExtraScale
ExtraStatus
ExtraTechnology
ExtraTemperature
ExtraVoltage
BatteryManager()
BatteryManager(IntPtr, JniHandleOwnership)
IsCharging
JniPeerMembers
ThresholdClass
ThresholdType
ComputeChargeTimeRemaining()
GetIntProperty(Int32)
GetLongProperty(Int32)
net9.0-android34.0
namespace Android.OS
{
[Register("android/os/BatteryManager", DoNotGenerateAcw = true)]
public class BatteryManager : Object
{
[Obsolete("This constant will be removed in the future version. Use Android.OS.BatteryProperty enum directly instead of this field.", true)]
[Register("BATTERY_PROPERTY_CAPACITY")]
public const BatteryProperty BatteryPropertyCapacity = BatteryProperty.Capacity;
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
Android | 21.022.023.024.025.026.027.028.029.030.031.032.033.034.0 |
Information specific to net9.0-android34.0 | |
Assembly | Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Obsolete | This constant will be removed in the future version. Use Android.OS.BatteryProperty enum directly instead of this field. |
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API