#include <src/LoggerModem.h>
Modem_BatteryPercent
class
The Variable sub-class used for the battery charge percent measured by a modem.
- Reference
- Detailed Descriptions
Whether or not this value is meaningful depends on the specific modem subclass and the wiring of the logger setup.
The value is has units of percent and has a resolution of 1%.
Base classes
- class Variable
- The variable class for a value and related metadata.
Constructors, destructors, conversion operators
- Modem_BatteryPercent(loggerModem* parentModem, const char* uuid = "", const char* varCode = "modemBatteryPct") explicit
- Construct a new Modem_
BatteryPercent object. - ~Modem_BatteryPercent()
- Destroy the Modem_
BatteryPercent object - no action needed.
Function documentation
Modem_ BatteryPercent:: Modem_BatteryPercent(loggerModem* parentModem,
const char* uuid = "",
const char* varCode = "modemBatteryPct") explicit
Construct a new Modem_
Parameters | |
---|---|
parentModem | The parent modem providing the result values. |
uuid | A universally unique identifier (UUID or GUID) for the variable; optional with the default value of an empty string. |
varCode | A short code to help identify the variable in files; optional with a default value of "modemBatteryPct". |