36 default:
return false;
break;
47 float voltage = 0, perc = 0;
61 float voltage = 0, perc = 0;
Handling the Lower MCU (STM32) communication.
RESULT GetPowerInfo(float &curVolt, float &curVoltPerc)
RESULT SetPowerParam(float fullVolt, float cutOffVolt, float alarmVolt)
Class for managing battery power settings and retrieval.
bool setBattCell(uint8_t cell)
Sets the battery parameters based on the number of cells.
float getBattPercentage(void)
Retrieves the current battery percentage.
float getBattVoltage(void)
Retrieves the current battery voltage.