Version: 2.xOn this pageTaro.getBatteryInfoSync()Taro.getBatteryInfo 的同步版本参考文档类型() => ResultCopy参数Result参数类型说明isChargingboolean是否正在充电中levelstring设备电量,范围 1 - 100API 支持度API微信小程序H5React NativeTaro.getBatteryInfoSync✔️