Android Guides | Samples

Android.App.ApplicationErrorReport.BatteryInfo Class

Describes a battery usage report.

See Also: ApplicationErrorReport+BatteryInfo

Syntax

[Android.Runtime.Register("android/app/ApplicationErrorReport$BatteryInfo", DoNotGenerateAcw=true)]
public class ApplicationErrorReport.BatteryInfo : Object

Remarks

Describes a battery usage report.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14

The members of Android.App.ApplicationErrorReport.BatteryInfo are listed below.

See Also: Object

Public Constructors

Create an uninitialized instance of BatteryInfo.
Create an instance of BatteryInfo initialized from a Parcel.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

CheckinDetailsString. Checkin details.
DurationMicrosInt64. Duration in microseconds over which the process used the above percentage of battery.
UsageDetailsString. Dump of various info impacting battery use.
UsagePercentInt32. Percentage of the battery that was used up by the process.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

Dump(IPrinter, String)
Dump a BatteryInfo instance to a Printer.
WriteToParcel(Parcel, ParcelableWriteFlags)
Save a BatteryInfo instance to a parcel.