API Documentation
|
#include <Battery.h>
Public Member Functions | |
void | toJSONNode (JSONNode &node) const |
void | fromJSONNode (const JSONNode &node) |
bool | operator!= (const BatteryCapacityInfo &info) const |
bool | canChangeBatteryState () const |
fltp04 | percent () const |
Public Attributes | |
fltp04 | current_level = Constant<fltp04>::NaN |
fltp04 | max_level = Constant<fltp04>::NaN |
fltp04 | discharge_rate = Constant<fltp04>::NaN |
fltp04 | warning_level = Constant<fltp04>::NaN |
fltp04 | critical_level = Constant<fltp04>::NaN |
fltp04 | shutdown_level = Constant<fltp04>::NaN |
bool canChangeBatteryState | ( | ) | const |
void fromJSONNode | ( | const JSONNode & | node | ) |
bool operator!= | ( | const BatteryCapacityInfo & | info | ) | const |
fltp04 percent | ( | ) | const |
void toJSONNode | ( | JSONNode & | node | ) | const |