IBatteryInfo

public interface IBatteryInfo

com.android.tradefed.device.battery.IBatteryInfo


Bir cihazın piliyle etkileşimi tanımlayan arayüz.

Özet

Herkese açık yöntemler

abstract IBatteryInfo.BatteryState checkBatteryState(ITestDevice device)

Bir cihaz pilinin mevcut durumunu döndürür.

abstract void disableCharging(ITestDevice device)

Bir cihazın pil şarjını devre dışı bırakma

abstract void enableCharging(ITestDevice device)

Bir cihazın pil şarjını etkinleştirin.

Herkese açık yöntemler

checkBatteryState

public abstract IBatteryInfo.BatteryState checkBatteryState (ITestDevice device)

Bir cihaz pilinin mevcut durumunu döndürür.

Parametreler
device ITestDevice

İlerlemeler
IBatteryInfo.BatteryState

Atışlar
DeviceNotAvailableException

disableCharging

public abstract void disableCharging (ITestDevice device)

Bir cihazın pil şarjını devre dışı bırakma

Parametreler
device ITestDevice

Atışlar
DeviceNotAvailableException

enableCharging

public abstract void enableCharging (ITestDevice device)

Cihazın pil şarjını etkinleştirin.

Parametreler
device ITestDevice

Atışlar
DeviceNotAvailableException