Hi,
we are using MAX817048 fuel guage in our project which uses nrf5340 brd. we are using the max817048 fuel guage drivers provided by zephyr in sdk version v2.4.2 to integrate this fuel guage. but upon testing we are facing this division by zero error when trying to read the soc of the battery.
We found that this is caused because the division by zero case is not handled inside the driver provided by sdk v2.4.2. Unfortunatly we can't change the version of the sdk due to many other dependencies in our project.
Is there a way to resolve this issue without changing the sdk version in our project.