|
| enum | BatteryState {
bsFirstOn = 0
, bsPowerOff
, bsNoMag
, bsLow
,
bsNormal
, bsWiFiOnly
} |
| |
| enum | BatteryLevel {
blUnknown
, blNormal
, blLow
, blVeryLow
,
blCritical
} |
| |
|
|
static void | Initialize (const I2C_Handle offboardI2cHandle) |
| |
|
static enum BatteryState | VoltageLogic (float temperatureDegreesC) |
| |
|
static void | InitADC (void) |
| |
|
static void | ConvertAllAdcChannels (void) |
| |
|
static int | TemperatureAdjustedBatteryPercentage (float batteryVoltage, float temperatureDegreesC) |
| |
|
static float | Get30PercentVoltage (float temperatureDegreesC) |
| |
|
static double | FindLowestCell (int batteryIndex) |
| |
|
|
static BatteryLevel | sBatteryLevel = blUnknown |
| |
|
static unsigned | sBatteryPercentage = 0 |
| |
|
static BatteryState | sBatteryState = bsFirstOn |
| |
|
static float | sVoltageForPercentageCalc = 0. |
| |
|
static BatteryMonitorReadings | sReadings [2] = {0} |
| |
The documentation for this class was generated from the following files:
- /home/kddev/dev/AppDev/GmCommon/include/BatteryMonitor.hpp
- /home/kddev/dev/AppDev/GmCommon/GmSysMgmt/BatteryMonitor.cpp