16#ifndef BATTERYCONTROLLER_HPP
17#define BATTERYCONTROLLER_HPP
Definition of the IBatteryController interface.
Definition of the II2CController interface.
void setCalibration32V2A()
Set the calibration for 32V and 2A.
~BatteryController() override
Destroy the BatteryController object.
BatteryController(II2CController *i2cController=nullptr)
Construct a new BatteryController object.
float getBusVoltage_V()
Get the bus voltage in volts.
float getShuntVoltage_V()
Get the shunt voltage in volts.
float getBatteryPercentage() override
Get the battery percentage.
II2CController * m_i2cController
Interface for managing the battery of the vehicle.
Interface for controlling I2C devices.