Stabilization of algorithm for number of low battery alarms.