BatteryTemperature.DumpsysBatteryTemperatureReceiver

class BatteryTemperature.DumpsysBatteryTemperatureReceiver
extends MultiLineReceiver

java.lang.Object
   ↳ com.android.ddmlib.MultiLineReceiver
     ↳ com.android.tradefed.device.BatteryTemperature.DumpsysBatteryTemperatureReceiver


Parse the output of "adb shell dumpsys battery" to collect the temperature.

Summary

Public methods

int getDeviceBatteryTemp()
boolean isCancelled()
void processNewLines(String[] lines)

Public methods

getDeviceBatteryTemp

public int getDeviceBatteryTemp ()

Returns
int

isCancelled

public boolean isCancelled ()

Returns
boolean

processNewLines

public void processNewLines (String[] lines)

Parameters
lines String