Skip to content

bq27441: Add reset() method for hardware reset. #145

@nedseb

Description

@nedseb

Sub-issue of #78.

Context

The BQ27441 has a BQ27441_CONTROL_RESET (0x41) control command that performs a full hardware reset of the fuel gauge, distinct from soft_reset() (0x42) which only triggers a resimulation. The constant exists in const.py but no public reset() method exposes it.

TODO

  • Add reset() method using execute_control_word(BQ27441_CONTROL_RESET)
  • Add mock test
  • Document the difference between reset() and soft_reset() in the driver

Reference

  • BQ27441-G1 Technical Reference: Control() subcommands RESET (0x0041) vs SOFT_RESET (0x0042)

Metadata

Metadata

Assignees

No one assigned

    Labels

    driverConcerne un driver spécifiqueenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions