电池#
容量()#
The capacity() method reads the remaining capacity of the battery.
**返回:**剩余容量百分比。
温度()#
The temperature(units) method reads the temperature of the battery.
参数 |
描述 |
|---|---|
|
Optional. A valid |
**返回:**以提供的单位表示的温度。
电压()#
The voltage(units) method reads the voltage of the battery.
参数 |
描述 |
|---|---|
|
Optional. A valid |
**返回:**以提供的单位表示的电压。
当前的()#
The current(units) method reads the current of the battery.
参数 |
描述 |
|---|---|
|
Optional. |
返回: 以提供的单位表示的电流。