Bat: Battery Functions

Top  Previous  Next

The battery functions are used for monitoring the on-board battery and control of the battery charger.

 


batChargerEnable

Enables/disables the charging off the internal battery pack.


batIsCharging

Queries the status on fast (rapid) charging.


batVoltageIsLow

Queries the status on the battery voltage.


batModuleMounted

Queries whether a battery module is mounted.


batPowerLevel

Returns the power level of the internal battery pack.

 

 

The battery consumption functions allow the program to interact with the battery power consumption circuit found on the RTCU SX1 series.

The power consumption circuit measures the current consumed from the battery with the following functions:

 


batConsumption

Queries the current battery consumption.


batConsumptionAvg

Queries the average battery consumption.


batConsumptionClear

Resets the average and total battery consumption.


batConsumptionEnable

Controls the battery current consumption measurement module.


batConsumptionTotal

Queries the total battery consumption.