to top
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

Since: API Level 14

Checkin details.

public long durationMicros

Since: API Level 14

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

public String usageDetails

Since: API Level 14

Dump of various info impacting battery use.

public int usagePercent

Since: API Level 14

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

Public Constructors

public ApplicationErrorReport.BatteryInfo ()

Since: API Level 14

Create an uninitialized instance of BatteryInfo.

public ApplicationErrorReport.BatteryInfo (Parcel in)

Since: API Level 14

Create an instance of BatteryInfo initialized from a Parcel.

Public Methods

public void dump (Printer pw, String prefix)

Since: API Level 14

Dump a BatteryInfo instance to a Printer.

public void writeToParcel (Parcel dest, int flags)

Since: API Level 14

Save a BatteryInfo instance to a parcel.