Sub-issue of #79.
Context
The BQ27441 status() method returns the CONTROL_STATUS word (sealed state, shutdown mode, etc.), not a data-ready register like the other drivers. Its only caller is sealed().
This creates two problems:
status() is public but only used internally
- The name
status() has a different meaning than in sensor drivers (data-ready vs control state)
TODO
Sub-issue of #79.
Context
The BQ27441
status()method returns the CONTROL_STATUS word (sealed state, shutdown mode, etc.), not a data-ready register like the other drivers. Its only caller issealed().This creates two problems:
status()is public but only used internallystatus()has a different meaning than in sensor drivers (data-ready vs control state)TODO
status()→_control_status()to reflect its actual purpose and avoid confusion with the sensorstatus()conventionsealed()to call_control_status()status()