Fixed battery status check