Li-Po Battery (2021 model)

All actions

Name

Description

reload

Perform a brutal battery reload.

All parameters

Name

Description

Expected type

Read-only

battery_capacity

Battery capacity in mAh.

floating-point number

N

discharge_speed_factor

Battery discharge speed factor (positive integer [0; 2^31-1]). Defaults to 1 for a nominal discharge speed. A value of 0 means that the battery will not discharge at all. A value greater than 1 accelerates the nominal discharge speed of the battery.

integer

N

initial_soc

Initial state of charge in percents.

floating-point number

N

num_cells

Number of cells.

integer

N

temperature_expr

Expression altering the temperature of the battery in kelvins.

string

N

temperature_int_gauge_expr

Expression altering the internal temperature of the gauge in kelvins.

string

N

temperature/

Name

Description

Expected type

Read-only

initial_gauge_temperature_expr

Expression altering the initial temperature of the battery gauge in kelvins.

string

N

initial_lipo_temperature_expr

Expression altering the initial temperature of the battery in kelvins.

string

N