BatteryTemperature

public class BatteryTemperature
extends Object

java.lang.Object
   ↳ com.android.tradefed.device.BatteryTemperature


Summary

Public constructors

BatteryTemperature()

Public methods

Integer getBatteryTemperature(IDevice device)

Get the device's battery temperature, in degrees celsius.

Public constructors

BatteryTemperature

public BatteryTemperature ()

Public methods

getBatteryTemperature

public Integer getBatteryTemperature (IDevice device)

Get the device's battery temperature, in degrees celsius.

TODO: Implement as ddmlib IDevice#getBatteryTemperature()

Parameters
device IDevice

Returns
Integer The device's temperature, in degrees celsius. If unavailable, the return value is 0.