BatteryTools

Last Updated On 2021-07-16

Version 1MinSDK 7Tutorial Video

A new component



Methods

You can set the below method blocks in the blocks section of the builder.

Health

Returns the current health status. Values can be : cold, dead, good, overheat, over voltage, unknown, unspecified failure.

Level

Values will be between 0 and 100.

Plugged

Values can be : usb, ac, wireless or unknown.

Status

Values can be : charging, full, discharging, not charging or unknown.

Temperature

Returns the battery temperature in celcius.

Voltage

Returns the battery voltage level in millivolts.