Fix logic to detect full battery