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.
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.