Battery diagnostic updater. More...
Public Member Functions | |
BatteryStatusDiag (const std::string &name) | |
void | run (diagnostic_updater::DiagnosticStatusWrapper &stat) |
void | set (float volt, float curr, float rem) |
void | set_min_voltage (float volt) |
Public Member Functions inherited from diagnostic_updater::DiagnosticTask | |
DiagnosticTask (const std::string name) | |
const std::string & | getName () |
virtual | ~DiagnosticTask () |
Private Attributes | |
float | current |
float | min_voltage |
std::mutex | mutex |
float | remaining |
float | voltage |
Battery diagnostic updater.
Definition at line 284 of file sys_status.cpp.