updated battery threshold