fixed low battery state not being set correctly