目录

Battery Level

Starting from version 1078, the API prefix has been changed from hbs to qg. The original prefix hbs is still supported.

Definition

API

Description

qg.getBatteryInfo(Object object)

Obtains the device battery level.

qg.getBatteryInfoSync()

Obtains the device battery level in synchronous mode.

[h2]qg.getBatteryInfo(Object object)

[h2]qg.getBatteryInfoSync() (1078+)