# Object wx.getBatteryInfoSync()

The synchronous version of wx.getBatteryInfo.

# Return Values

# Object res

Property Type Description
level string The device's battery level. Range: 1-100.
isCharging boolean Indicates whether the device is charging.