电池#
容量()#
The capacity(units)
method reports the remaining capacity of the battery.
参数 |
描述 |
---|---|
单位 |
The only valid unit is |
**返回:**电池剩余容量的百分比。
电压()#
The voltage(units)
method reports the voltage of the battery.
参数 |
描述 |
---|---|
单位 |
A valid voltageUnits type. The default is |
返回: 以提供的单位表示的电压。