Batt Monitor in Lua Script

hello Everyone , I am trying to Use Scripting Batt Monitor (Batt_Monitor = 29) but after I checked out the “bindings.desc” there is no Function to access the Batteries Object .
even if you check the AP_BattMonitor.h there is no definition for scripting but there is available in mission to set the Batt_Monitor on 29.

I think maybe I have to add this part to firmware on myself .

Batt.h

image

See BattMonitorScript_State and its associated methods along with battery:handle_scripting().

Those features are brand new and only available in the latest master branch.

Tnk you . I will check that .