Batería#
capacidad()#
The capacity(units)
method reports the remaining capacity of the battery.
Parámetros |
Descripción |
---|---|
unidades |
The only valid unit is |
Devuelve: La capacidad restante de la batería como porcentaje.
temperatura()#
The temperature(units)
method reports the temperature of the battery.
Parámetros |
Descripción |
---|---|
unidades |
A valid temperatureUnit or |
Devoluciones: La temperatura en las unidades suministradas.
Voltaje()#
The voltage(units)
method reports the voltage of the battery.
Parámetros |
Descripción |
---|---|
unidades |
A valid voltageUnits type. The default is |
Devuelve: El voltaje en las unidades suministradas.
actual()#
The current(units)
method returns the battery current.
Parámetros |
Descripción |
---|---|
unidades |
The only valid unit is |
Devuelve: La corriente en las unidades suministradas.