Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static class

ApplicationErrorReport.BatteryInfo

extends Object
java.lang.Object
   ↳ android.app.ApplicationErrorReport.BatteryInfo

Class Overview

Describes a battery usage report.

Summary

Fields
public String checkinDetails Checkin details.
public long durationMicros Duration in microseconds over which the process used the above percentage of battery.
public String usageDetails Dump of various info impacting battery use.
public int usagePercent Percentage of the battery that was used up by the process.
Public Constructors
ApplicationErrorReport.BatteryInfo ()
Create an uninitialized instance of BatteryInfo.
ApplicationErrorReport.BatteryInfo ( Parcel in)
Create an instance of BatteryInfo initialized from a Parcel.
Public Methods
void dump ( Printer pw, String prefix)
Dump a BatteryInfo instance to a Printer.
void writeToParcel ( Parcel dest, int flags)
Save a BatteryInfo instance to a parcel.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public String checkinDetails

Checkin details.

public long durationMicros

Duration in microseconds over which the process used the above percentage of battery.

public String usageDetails

Dump of various info impacting battery use.

public int usagePercent

Percentage of the battery that was used up by the process.

Public Constructors

public ApplicationErrorReport.BatteryInfo ()

Create an uninitialized instance of BatteryInfo.

public ApplicationErrorReport.BatteryInfo ( Parcel in)

Create an instance of BatteryInfo initialized from a Parcel.

Public Methods

public void dump ( Printer pw, String prefix)

Dump a BatteryInfo instance to a Printer.

public void writeToParcel ( Parcel dest, int flags)

Save a BatteryInfo instance to a parcel.