API Documentation
Loading...
Searching...
No Matches
BatteryCapacityInfo Struct Reference

#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
 

Member Function Documentation

◆ canChangeBatteryState()

bool canChangeBatteryState ( ) const

◆ fromJSONNode()

void fromJSONNode ( const JSONNode & node)

◆ operator!=()

bool operator!= ( const BatteryCapacityInfo & info) const

◆ percent()

fltp04 percent ( ) const

◆ toJSONNode()

void toJSONNode ( JSONNode & node) const

Member Data Documentation

◆ critical_level

fltp04 critical_level = Constant<fltp04>::NaN

◆ current_level

fltp04 current_level = Constant<fltp04>::NaN

◆ discharge_rate

fltp04 discharge_rate = Constant<fltp04>::NaN

◆ max_level

fltp04 max_level = Constant<fltp04>::NaN

◆ shutdown_level

fltp04 shutdown_level = Constant<fltp04>::NaN

◆ warning_level

fltp04 warning_level = Constant<fltp04>::NaN

The documentation for this struct was generated from the following files: