Quantcast
Channel: Power management forum - Recent Threads
Viewing all articles
Browse latest Browse all 35901

bq2084 RemainingCapacityAlarm bit set?

$
0
0

Hello,

For the bq2084:

The BatteryStatus() function returns 0x02C0, which means: REMAINING_CAPACITY_ALARM, Initialized and DISCHARGING.

RemainingCapacity() returns 0xAE31, and RemainingCapacityAlarm() is set to 0x01B8; therefore, BatteryStatus() should return 0x00C0 - REMAINING_CAPACITY_ALARM bit should only be set when RemainingCapacity() is less than RemainingCapacityAlarm()!

I tried setting RemainingCapacityAlarm() to 0x0000 to disable the alarm, but BatteryStatus() still returns REMAINING_CAPACITY_ALARM bit set.

4 of the 5 LEDs blink: 4 LEDs indicate at >80% capacity; blinking indicates REMAINING_CAPACITY_ALARM bit set. This should mean that RemainingCapacityAlarm() is set very high, so that even at 80% capacity, RemainingCapacity() is less than RemainingCapacityAlarm(). But read RemainingCapacity() is greater than read RemainingCapacityAlarm() !

So how do I clear the REMAINING_CAPACITY_ALARM bit?

Thank you

Martin


Viewing all articles
Browse latest Browse all 35901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>