Skip to content

Battery Utilities

Non-Visible component
Category Requires Version
Utilities API 21, Android 5.0 Lollipop 1


A non-visible component that queries and monitors the device''s battery and its charging status.


Get Battery Info

Returns: List

Returns a list showing battery info for the specified key. Key can be: HEALTH, LEVEL, PLUGGED, PRESENT, STATUS, CHARGE_STATUS, TECHNOLOGY, TEMPERATURE, VOLTAGE. If key is empty, then all battery info is returned.

key Text


Battery Level

Number ➖ Read - Blocks

Returns battery percentage level

Battery Plugged

Text ➖ Read - Blocks

Indicating whether the device is plugged in to a power source. Can be USB, AC or UNKNOWN

Battery Present

Boolean ➖ Read - Blocks

Indicating whether a battery is present

Battery Temperature

Number ➖ Read - Blocks

Indicating battery temperature in Centigrade

Battery Voltage

Number ➖ Read - Blocks

Indicating battery voltage in Volts


Boolean Default: False ➖ Write - Designer Blocks

Starts or stops monitoring battery data. StartMonitoring only when you need to get information.

Show Battery Health

Text ➖ Read - Blocks

Returns battery health. It can be: COLD, DEAD, GOOD, OVERHEAT, OVER_VOLTAGE, UNKNOWN

Last update: November 9, 2022