A lightweight Linux daemon for monitoring and managing the Texas Instruments BQ25792 I2C buck-boost battery charge management IC. Designed for single-board computers (such as the Raspberry Pi) and embedded Linux systems utilizing advanced multi-cell battery charging architectures.
- I2C Communication: Interfaces directly with the BQ25792 register map to read ADC telemetry and write configuration parameters.
- Real-Time Monitoring: Tracks critical metrics including input voltage, battery voltage, charging current, charge state, and device temperature.
- Configurable Thresholds: Manages input current limits, charging current, and termination voltages.
- Background Operation: Runs continuously as a system daemon with robust error handling and logging.
- Systemd Integration: Includes service unit files for automated startup and lifecycle management.
- Linux Single-Board Computer (SBC) with I2C support enabled.
- Texas Instruments BQ25792 Evaluation Module / Mikroe Charger 25 Click
- I2C Bus wiring:
- SDA -> SBC I2C Data pin
- SCL -> SBC I2C Clock pin
- GND -> Common Ground
Verify that the I2C interface is enabled on your host system:
# Example for Raspberry Pi
sudo raspi-config