Break infinite refresh loop in battery estimates
There was an infinite loop that could occur in BatterySaverUtils what was caused by battery saver utils updating the battery estimate which then told the page to check for an estimate and then it would repeat from there. This cleans up the logic in that loop slightly to prevent it from refreshing more than is necessary. Test: atest BatteryUtilsTest Bug: 132751712 Change-Id: I918484747ecd9735315570ad608489e0f61d7578
Loading
Please register or sign in to comment